Ouzo\Routing\Route::clear PHP 메소드

clear() 공개 정적인 메소드

public static clear ( )
    public static function clear()
    {
        self::$routes = array();
        self::$routeKeys = array();
    }

Usage Example

예제 #1
0
 protected function setUp()
 {
     parent::setUp();
     Route::clear();
     $this->path = Path::joinWithTemp(uniqid() . '_generated_uri_helper.js');
     Config::overrideProperty("global", "prefix_system")->with("/app");
 }
All Usage Examples Of Ouzo\Routing\Route::clear