Exemplo n.º 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();
 }
Exemplo n.º 2
0
 public function read($force = false)
 {
     $json_contents = parent::read($force);
     $this->json_contents = empty($json_contents) ? null : $json_contents;
     return $this->json_contents;
 }