Example #1
0
 public function matchUriPattern()
 {
     if ($this->exception === null) {
         try {
             $this->router->match();
         } catch (\Exception $e) {
             $this->handleException($e);
         }
     }
     return $this;
 }