Application::useDatabasePath()

$this useDatabasePath(string $path) Set the database directory. Parameters string $path Return Value $this

Application::storagePath()

string storagePath() Get the path to the storage directory. Return Value string

Application::tagged()

array tagged(array $tag) Resolve all of the bindings for a given tag. Parameters array $tag Return Value array

Application::tag()

void tag(array|string $abstracts, array|mixed $tags) Assign a set of tags to a given binding. Parameters array|string $abstracts array|mixed $tags Return Value void

Application::tag()

void tag(array|string $abstracts, array|mixed $tags) Assign a set of tags to a given binding. Parameters array|string $abstracts array|mixed $tags Return Value void

Application::singleton()

void singleton(string|array $abstract, Closure|string|null $concrete = null) Register a shared binding in the container. Parameters string|array $abstract Closure|string|null $concrete Return Value void

Application::starting()

static void starting(Closure $callback) Register a console "starting" bootstrapper. Parameters Closure $callback Return Value void

Application::singleton()

void singleton(string|array $abstract, Closure|string|null $concrete = null) Register a shared binding in the container. Parameters string|array $abstract Closure|string|null $concrete Return Value void

Application::shouldSkipMiddleware()

bool shouldSkipMiddleware() Determine if middleware has been disabled for the application. Return Value bool

Application::share()

Closure share(Closure $closure) Wrap a Closure such that it is shared. Parameters Closure $closure Return Value Closure