Ouzo\Routing\Route::clear PHP Method

clear() public static method

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

Usage Example

 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