/** * Check file * * @return void */ protected function checkFile() { $path = $this->getFile(); if (!file_exists($path)) { $class = $this->getClass(); \Includes\Decorator\Utils\CacheManager::fireError('Class ' . $class . ' is not defined in ' . $path . ' file.' . ' Class ' . $class . ' is not added to var/run/ directory.'); } }