예제 #1
0
파일: NullBackend.php 프로젝트: dyweb/ring
 public function __construct(NullDataStorage $dataStorage, NullMetaStorage $metaStorage)
 {
     parent::__construct($dataStorage, $metaStorage);
 }
예제 #2
0
파일: LocalBackend.php 프로젝트: dyweb/ring
 /**
  *
  * @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));
 }