Intermédiaire
This commit is contained in:
1 parent
35cdda57ae
commit
5a15c25990
1880 files changed
+316901
-74
No files matched your search
@@ -0,0 +1,23 @@
|
||||
<?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);
|
||||
}
|
||||
Reference in new issue
Block a user