Example #1
0
 /**
  *
  * @TODO use dependency injection
  * @param string $basePath
  * @param string $baseUrl
  */
 public function __construct($basePath, $baseUrl)
 {
     $d = new LocalDataStorage($basePath);
     $d->setUrlUtil(new Url($basePath, $baseUrl));
     parent::__construct($d, new LocalMetaStorage($basePath));
 }
Example #2
0
 public function __construct(NullDataStorage $dataStorage, NullMetaStorage $metaStorage)
 {
     parent::__construct($dataStorage, $metaStorage);
 }
Example #3
0
 /**
  * @return Meta\AbstractMeta
  */
 public function getMeta()
 {
     return $this->backend->getMeta();
 }