BindWhen
class BindWhen (View source)
Properties
| class-string | $concrete | The concrete class to bind to. |
|
| Container): bool | $condition | The condition that determines if the binding should apply. |
Methods
Details
__construct(string $concrete, Closure $condition)
Create a new attribute instance.