class Give implements ContextualAttribute (View source)

Methods

__construct(string $class, array $params = [])

Provide a concrete class implementation for dependency injection.

static mixed
resolve(Give $attribute, Container $container)

Resolve the dependency.

Details

__construct(string $class, array $params = [])

Provide a concrete class implementation for dependency injection.

Parameters

string $class
array $params

static mixed resolve(Give $attribute, Container $container)

Resolve the dependency.

Parameters

Give $attribute
Container $container

Return Value

mixed

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.