BindingRegistrar.php
2 years ago
Registrar.php
2 years ago
ResponseFactory.php
1 month ago
UrlGenerator.php
1 month ago
UrlRoutable.php
2 years ago
BindingRegistrar.php
24 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Contracts\Routing; |
| 4 | |
| 5 | /** @internal */ |
| 6 | interface BindingRegistrar |
| 7 | { |
| 8 | /** |
| 9 | * Add a new route parameter binder. |
| 10 | * |
| 11 | * @param string $key |
| 12 | * @param string|callable $binder |
| 13 | * @return void |
| 14 | */ |
| 15 | public function bind($key, $binder); |
| 16 | /** |
| 17 | * Get the binding callback for a given binding. |
| 18 | * |
| 19 | * @param string $key |
| 20 | * @return \Closure |
| 21 | */ |
| 22 | public function getBindingCallback($key); |
| 23 | } |
| 24 |