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
void beforeBootstrapping(string $bootstrapper, Closure $callback) Register a callback to run before a bootstrapper. Parameters string $bootstrapper Closure $callback Return Value void
string basePath() Get the base path of the Laravel installation. Return Value string
void alias(string $abstract, string $alias) Alias a type to a different name. Parameters string $abstract string $alias Return Value void
void afterResolving(string $abstract, Closure $callback = null) Register a new after resolving callback for all types. Parameters string $abstract Closure $callback Return Value void
void afterResolving(string $abstract, Closure $callback = null) Register a new after resolving callback. Parameters string $abstract Closure $callback Return Value void
void afterLoadingEnvironment(Closure $callback) Register a callback to run after loading the environment. Parameters Closure $callback Return Value void
Page 985 of 996