| 1 | <?php |
||
| 23 | class RouteFactory implements RouteBuilder |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * Creates the new route |
||
| 27 | * |
||
| 28 | * @param string $identifier The identifier of this route |
||
| 29 | * @param string $verb The verb of this route |
||
| 30 | * @param callable $callback The callback to execute when this route matches |
||
| 31 | * |
||
| 32 | * @return \OpCacheGUI\Network\Route |
||
| 33 | */ |
||
| 34 | 1 | public function build($identifier, $verb, callable $callback) |
|
| 38 | } |
||
| 39 |