• File: BindingRegistrar.php
  • Full Path: /var/www/crm_set/application/vendor/illuminate/contracts/Routing/BindingRegistrar.php
  • Date Modified: 09/21/2026 4:20 AM
  • File size: 447 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?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);
}