ContextualBindingBuilder

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.

doc_Laravel
2016-11-02 16:13:24
Comments
Leave a Comment

Please login to continue.