Advertisement
shelob9

Untitled

Jul 24th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. public function add_routes(){
  2. if( ! $this->booted && ! empty( $this->routes ) ){
  3. /** @var route $route */
  4. foreach ( $this->routes as $route ){
  5. $route->add_routes( $this->namespace );
  6. }
  7.  
  8. $this->booted = true;
  9.  
  10. }
  11.  
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement