public function getRoutes() : Array {

		$return = array();
		foreach($this->routes as $route) {
			array_push($return, [$route->getPath(), $route->getMethod()]);
		}
		return $return;

	}
public function getRoutes() : Array {

		$return = array();
		foreach($this->routes as $route) {
			array_push($return, [$route->getPath(), $route->getMethod()]);
		}
		return $return;

	}
public function getRoutes ( ) : Array { $ return = array ( ) ; foreach ( $ this -> routes as $ route ) { array_push ( $ return , [ $ route -> getPath ( ) , $ route -> getMethod ( ) ] ) ; } return $ return ; }
Return all defined routes with their method
@return Array
Return all defined routes with their method