functionName = $functionName; } /** * @inheritdoc * * @return array */ public function check() { if (function_exists($this->functionName)) { return array(EnvironmentCheck::OK, $this->functionName.'() exists'); } else { return array(EnvironmentCheck::ERROR, $this->functionName.'() doesn\'t exist'); } } }