Application::bind()

void bind(string|array $abstract, Closure|string|null $concrete = null, bool $shared = false) Register a binding with the container. Parameters string|array $abstract Closure|string|null $concrete bool $shared Return Value void

Application::bind()

void bind(string|array $abstract, Closure|string|null $concrete = null, bool $shared = false) Register a binding with the container. Parameters string|array $abstract Closure|string|null $concrete bool $shared Return Value void

Application::beforeBootstrapping()

void beforeBootstrapping(string $bootstrapper, Closure $callback) Register a callback to run before a bootstrapper. Parameters string $bootstrapper Closure $callback Return Value void

Application::basePath()

string basePath() Get the base path of the Laravel installation. Return Value string

Application::basePath()

string basePath() Get the base path of the Laravel installation. Return Value string

Application::alias()

void alias(string $abstract, string $alias) Alias a type to a different name. Parameters string $abstract string $alias Return Value void

Application::alias()

void alias(string $abstract, string $alias) Alias a type to a different name. Parameters string $abstract string $alias Return Value void

Application::afterResolving()

void afterResolving(string $abstract, Closure $callback = null) Register a new after resolving callback for all types. Parameters string $abstract Closure $callback Return Value void

Application::afterResolving()

void afterResolving(string $abstract, Closure $callback = null) Register a new after resolving callback. Parameters string $abstract Closure $callback Return Value void

Application::afterLoadingEnvironment()

void afterLoadingEnvironment(Closure $callback) Register a callback to run after loading the environment. Parameters Closure $callback Return Value void