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