HighSpeaker/vendor/illuminate/contracts/Routing/BindingRegistrar.php
2022-12-24 22:10:40 +08:00

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);
}