Blame view

public/vendor/illuminate/contracts/Routing/BindingRegistrar.php 447 Bytes
86143e36f   Андрей Ларионов   Коммит вторник
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);
  }