className = $className; } 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'); } }