| 1 | <?php |
||
| 17 | class Base implements Builder |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Build instance of the route |
||
| 21 | * |
||
| 22 | * @param string $method Route method - GET, POST, etc... |
||
| 23 | * @param string $url route definition |
||
| 24 | * @param mixed $handler handler which will be executed if the url match |
||
| 25 | * the route |
||
| 26 | * |
||
| 27 | * @return \Kambo\Router\Route\Route\Base Base route |
||
| 28 | */ |
||
| 29 | public function build(string $method, string $url, $handler) : Route |
||
| 33 | } |
||
| 34 |