Пример #1
0
 protected function _loadRoutes()
 {
     $routepath = __MY_CONFIGS . "/routes.yml";
     if (!file_exists($routepath)) {
         throw new RouteLoadException();
     }
     $loader = new FileLoader($routepath, true);
     $loader->read();
     $loader->getSha1();
 }
Пример #2
0
 /**
  * Create Storage instance
  *
  * @param string $name Storage name
  */
 public function __construct($name)
 {
     $this->name = $name;
     parent::__construct(self::StoragePath($this->getName()), false, true);
 }
Пример #3
0
 public function write($contents = null, $append = false)
 {
     parent::write($contents);
 }