ContextualBindingBuilder
интерфейс ContextualBindingBuilder (View source)
Методы
| $this | needs(string $abstract) Определяет абстрактную цель, которая зависит от контекста. | |
| void | give(Closure|string $implementation) Определяет реализацию для контекстного связывания. |
Подробности
$this needs(string $abstract)
Определяет абстрактную цель, которая зависит от контекста.
void give(Closure|string $implementation)
Определяет реализацию для контекстного связывания.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/7.x/Illuminate/Contracts/Container/ContextualBindingBuilder.html