예제 #1
0
파일: Information.php 프로젝트: Hlavos/obo
 /**
  * @param array $modelsDirs
  * @param \obo\Services\EntitiesInformation\Explorer $explorer
  * @param \obo\Interfaces\ICache $cache
  */
 public function __construct(array $modelsDirs, \obo\Services\EntitiesInformation\Explorer $explorer, \obo\Interfaces\ICache $cache)
 {
     $this->explorer = $explorer;
     $this->cache = $cache;
     $this->modelsDirs = $modelsDirs;
     $this->lockFilePath = \obo\obo::tempDir() . "/cache.lock";
     if (\obo\obo::$developerMode) {
         $this->validateCache();
     }
 }