ContextualBindingBuilder
class ContextualBindingBuilder implements ContextualBindingBuilder (View source)
Methods
void | __construct(Container $container, string $concrete) Create a new contextual binding builder. | |
$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. |
Please login to continue.