interface ContextualBindingBuilder (View source)
$this | needs(string $abstract) Define the abstract target that depends on the context. | |
void | give(Closure|string $implementation) Define the implementation for the contextual binding. |
Define the abstract target that depends on the context.
Define the implementation for the contextual binding.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/Contracts/Container/ContextualBindingBuilder.html