mirror of
https://github.com/dannyvankooten/AltoRouter.git
synced 2025-08-04 15:37:45 +02:00
Update AltoRouter.php
Added @return to getRoutes. Removed unnecessary whitespaces.
This commit is contained in:
@@ -30,11 +30,12 @@ class AltoRouter {
|
|||||||
/**
|
/**
|
||||||
* Retrieves all routes.
|
* Retrieves all routes.
|
||||||
* Useful if you want to process or display routes.
|
* Useful if you want to process or display routes.
|
||||||
|
* @return array All routes.
|
||||||
*/
|
*/
|
||||||
public function getRoutes() {
|
public function getRoutes() {
|
||||||
return $this->routes;
|
return $this->routes;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add multiple routes at once from array in the following format:
|
* Add multiple routes at once from array in the following format:
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user