ContextualBindingBuilder
in
Table of Contents
- give() : void
- Define the implementation for the contextual binding.
- needs() : $this
- Define the abstract target that depends on the context.
Methods
give()
Define the implementation for the contextual binding.
public
give(Closure|string $implementation) : void
Parameters
- $implementation : Closure|string
Return values
void —needs()
Define the abstract target that depends on the context.
public
needs(string $abstract) : $this
Parameters
- $abstract : string