Exemple #1
0
 /**
  * ShinyBlog main method.
  * Dispatches and handles requests.
  */
 public function run()
 {
     try {
         $this->setRoutes();
         $this->dispatch();
     } catch (Exception $e) {
         $responder = new HttpResponder($this->config);
         $responder->error($e->getMessage());
     }
 }