예제 #1
0
파일: Entry.php 프로젝트: tourze/route
 /**
  * @inheritdoc
  */
 public function init()
 {
     $this->routeRegex = Route::compile($this->uri, $this->regex);
 }
예제 #2
0
파일: Route.php 프로젝트: tourze/route
 /**
  * {@inheritdoc}
  */
 public function compile($uri, array $regex = null)
 {
     return BaseRoute::compile($uri, $regex);
 }