/** * @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(); } }