public function __construct($name = null, array $data = [], $dataName = '') { parent::__construct($name, $data, $dataName); self::$rootCacheDirectory = __DIR__ . DIRECTORY_SEPARATOR . 'CacheFiles' . DIRECTORY_SEPARATOR; if (!is_dir(self::$rootCacheDirectory)) { mkdir(self::$rootCacheDirectory, 511, true); } }
public function __construct($name = null, array $data = array(), $dataName = '') { parent::__construct($name, $data, $dataName); $this->queryable = isset($data[0]) ? $data[0] : null; $this->repository = $this->queryable instanceof IRepository ? $this->queryable : null; }
public function __construct($name = null, array $data = [], $dataName = '') { parent::__construct($name, $data, $dataName); $this->implementations = $this->implementations(); $this->currentImplementation = isset($data[0]) ? $data[0] : null; }