ContextualBindingBuilder
class ContextualBindingBuilder implements ContextualBindingBuilder (View source)
Properties
| protected Container | $container | The underlying container instance. |
|
| protected string|array | $concrete | The concrete instance. |
|
| protected string | $needs | The abstract target. |
Methods
void
$this
needs(string $abstract)
Define the abstract target that depends on the context.
Details
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.