You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
447 B
PHP
24 lines
447 B
PHP
<?php
|
|
|
|
namespace Illuminate\Contracts\Routing;
|
|
|
|
interface BindingRegistrar
|
|
{
|
|
/**
|
|
* Add a new route parameter binder.
|
|
*
|
|
* @param string $key
|
|
* @param string|callable $binder
|
|
* @return void
|
|
*/
|
|
public function bind($key, $binder);
|
|
|
|
/**
|
|
* Get the binding callback for a given binding.
|
|
*
|
|
* @param string $key
|
|
* @return \Closure
|
|
*/
|
|
public function getBindingCallback($key);
|
|
}
|