class App extends Facade

Properties

static protected $app

The application instance being facaded.

from  Facade
static protected array $resolvedInstance

The resolved object instances.

from  Facade
static protected bool $cached

Indicates if the resolved instance should be cached.

from  Facade

Methods

static void
resolved(Closure $callback)

Run a Closure when the facade has been resolved.

from  Facade
static 
spy()

Convert the facade into a Mockery spy.

from  Facade
static 
partialMock()

Initiate a partial mock on the facade.

from  Facade
static 
shouldReceive()

Initiate a mock expectation on the facade.

from  Facade
static 
expects()

Initiate a mock expectation on the facade.

from  Facade
static 
createFreshMockInstance()

Create a fresh mock instance for the given class.

from  Facade
static 
createMock()

Create a fresh mock instance for the given class.

from  Facade
static bool
isMock()

Determines whether a mock is set as the instance of the facade.

from  Facade
static string|null
getMockableClass()

Get the mockable class for the bound instance.

from  Facade
static 
swap(mixed $instance)

Hotswap the underlying instance behind the facade.

from  Facade
static bool
isFake()

Determines whether a "fake" has been set as the facade instance.

from  Facade
static mixed
getFacadeRoot()

Get the root object behind the facade.

from  Facade
static string
getFacadeAccessor()

Get the registered name of the component.

static mixed
resolveFacadeInstance(string $name)

Resolve the facade root instance from the container.

from  Facade
static void
clearResolvedInstance(string|null $name = null)

Clear a resolved facade instance.

from  Facade
static void
clearResolvedInstances()

Clear all of the resolved instances.

from  Facade
static Collection
defaultAliases()

Get the application default aliases.

from  Facade
static 
getFacadeApplication()

Get the application instance behind the facade.

from  Facade
static void
setFacadeApplication(mixed $app)

Set the application instance.

from  Facade
static 
__callStatic(string $method, array $args)

Handle dynamic, static calls to the object.

from  Facade
configure(string|null $basePath = 'null')

No description

static string
inferBasePath()

No description

static string
version()

No description

static bool
has(string $id)

No description

static void
bootstrapWith(string[] $bootstrappers)

No description

static void
beforeBootstrapping(string $bootstrapper, Closure $callback)

No description

static void
afterBootstrapping(string $bootstrapper, Closure $callback)

No description

static void
afterLoadingEnvironment(Closure $callback)

No description

static bool
hasBeenBootstrapped()

No description

static Application
setBasePath(string $basePath)

No description

static string
path(string $path = '\'\'')

No description

static Application
useAppPath(string $path)

No description

static string
basePath(string $path = '\'\'')

No description

static string
bootstrapPath(string $path = '\'\'')

No description

static Application
useBootstrapPath(string $path)

No description

static string
getBootstrapProvidersPath()

No description

static string
configPath(string $path = '\'\'')

No description

static Application
useConfigPath(string $path)

No description

static string
databasePath(string $path = '\'\'')

No description

static Application
useDatabasePath(string $path)

No description

static string
langPath(string $path = '\'\'')

No description

static Application
useLangPath(string $path)

No description

static string
publicPath(string $path = '\'\'')

No description

static Application
usePublicPath(string $path)

No description

static string
resourcePath(string $path = '\'\'')

No description

static string
viewPath(string $path = '\'\'')

No description

static string
storagePath(string $path = '\'\'')

No description

static Application
useStoragePath(string $path)

No description

static string|null
environmentPath()

No description

static Application
useEnvironmentPath(string $path)

No description

static Application
loadEnvironmentFrom(string $file)

No description

static string
environmentFile()

No description

static string
environmentFilePath()

No description

static bool
configurationIsCached()

No description

static string
getCachedConfigPath()

No description

static string
getCachedPackagesPath()

No description

static bool
routesAreCached()

No description

static string
getCachedRoutesPath()

No description

static bool
eventsAreCached()

No description

static string
getCachedEventsPath()

No description

static Application
addAbsoluteCachePathPrefix(string $prefix)

No description

static string
joinPaths(string|null $basePath, string $path = '\'\'')

No description

static string|bool
environment(array|string ...$environments)

No description

static bool
isLocal()

No description

static bool
isProduction()

No description

static string
detectEnvironment(Closure $callback)

No description

static bool
runningInConsole()

No description

static bool
runningConsoleCommand(array|string ...$commands)

No description

static void
setRunningInConsole(bool $runningInConsole)

No description

static bool
runningUnitTests()

No description

static bool
hasDebugModeEnabled()

No description

static MaintenanceMode
maintenanceMode()

No description

static bool
isDownForMaintenance()

No description

static int
handleCommand(InputInterface $input)

No description

static bool
static Application
static bool
shouldSkipMiddleware()

No description

static void
registered(callable $callback)

No description

static void
registerConfiguredProviders()

No description

static ServiceProvider
register(ServiceProvider|string $provider, bool $force = 'false')

No description

static ServiceProvider|null
getProvider(ServiceProvider|string $provider)

No description

static array
getProviders(ServiceProvider|string $provider)

No description

static ServiceProvider
resolveProvider(string $provider)

No description

static bool
isBooted()

No description

static void
boot()

No description

static void
booting(callable $callback)

No description

static void
booted(callable $callback)

No description

static Application
terminating(callable|string $callback)

No description

static void
terminate()

No description

static never
abort(int $code, string $message = '\'\'', array $headers = '[]')

No description

static void
array()

<string, bool> getLoadedProviders()

static bool
providerIsLoaded(string $provider)

No description

static string
getLocale()

No description

static bool
isLocale(string $locale)

No description

static string
currentLocale()

No description

static string
getFallbackLocale()

No description

static void
setLocale(string $locale)

No description

static void
setFallbackLocale(string $fallbackLocale)

No description

static void
flush()

No description

static string
getNamespace()

No description

when(array|string $concrete)

No description

static void
whenHasAttribute(string $attribute, Closure $handler)

No description

static bool
bound(string $abstract)

No description

static bool
isShared(string $abstract)

No description

static bool
isScoped(string $abstract)

No description

static bool
isAlias(string $name)

No description

static void
bind(Closure|string $abstract, Closure|string|null $concrete = 'null', bool $shared = 'false')

No description

static bool
hasMethodBinding(string $method)

No description

static void
bindMethod(array|string $method, Closure $callback)

No description

static mixed
callMethodBinding(string $method, mixed $instance)

No description

static void
addContextualBinding(string $concrete, string $abstract, mixed $implementation)

No description

static void
bindIf(Closure|string $abstract, Closure|string|null $concrete = 'null', bool $shared = 'false')

No description

static void
singleton(Closure|string $abstract, Closure|string|null $concrete = 'null')

No description

static void
singletonIf(Closure|string $abstract, Closure|string|null $concrete = 'null')

No description

static void
scoped(Closure|string $abstract, Closure|string|null $concrete = 'null')

No description

static void
scopedIf(Closure|string $abstract, Closure|string|null $concrete = 'null')

No description

static void
extend(string $abstract, Closure $closure)

No description

static mixed
instance(string $abstract, mixed $instance)

No description

static void
tag(array|string $abstracts, array|string $tags)

No description

static iterable
tagged(string $tag)

No description

static void
alias(string $abstract, string $alias)

No description

static mixed
rebinding(string $abstract, Closure $callback)

No description

static mixed
refresh(string $abstract, mixed $target, string $method)

No description

static Closure
wrap(Closure $callback, array $parameters = '[]')

No description

static mixed
call(callable|string $callback, array<string $, mixed> $parameters = '[]', string|null $defaultMethod = 'null')

No description

static Closure
factory(string $abstract)

No description

static object|mixed
makeWith(string $abstract, array $parameters = '[]')

No description

static object|mixed
make(string $abstract, array $parameters = '[]')

No description

static object|mixed
get(string $id)

No description

static object
build(Closure $concrete)

No description

static mixed
buildWith(Closure $concrete, array<string $, mixed> $parameters = '[]')

No description

static mixed
resolveFromAttribute(ReflectionAttribute $attribute, ReflectionParameter $parameter)

No description

static void
beforeResolving(Closure|string $abstract, Closure|null $callback = 'null')

No description

static void
resolving(Closure|string $abstract, Closure|null $callback = 'null')

No description

static void
afterResolving(Closure|string $abstract, Closure|null $callback = 'null')

No description

static void
afterResolvingAttribute(string $attribute, Closure $callback)

No description

static void
fireAfterResolvingAttributeCallbacks(ReflectionAttribute[] $attributes, mixed $object)

No description

static null|string
currentlyResolving()

No description

static array
getBindings()

No description

static string
getAlias(string $abstract)

No description

static void
forgetExtenders(string $abstract)

No description

static void
forgetInstance(string $abstract)

No description

static void
forgetInstances()

No description

static void
forgetScopedInstances()

No description

static void
resolveEnvironmentUsing(null|callable $callback)

No description

static bool
currentEnvironmentIs(array<int $, string>|string $environments)

No description

static Application
getInstance()

No description

static Container|null
setInstance(Container|null $container = 'null')

No description

static void
macro(string $name, callable|object $macro)

No description

static void
mixin(object $mixin, bool $replace = 'true')

No description

static bool
hasMacro(string $name)

No description

static void
flushMacros()

No description

Details

in Facade at line 55
static void resolved(Closure $callback)

Run a Closure when the facade has been resolved.

Boot-only. The callback is registered on the worker-global container and runs for every subsequent resolution of the facade accessor.

Parameters

Closure $callback

Return Value

void

in Facade at line 71
static spy()

Convert the facade into a Mockery spy.

in Facade at line 89
static partialMock()

Initiate a partial mock on the facade.

Tests only. Swaps the resolved facade instance for the worker lifetime.

in Facade at line 105
static shouldReceive()

Initiate a mock expectation on the facade.

Tests only. Swaps the resolved facade instance for the worker lifetime.

in Facade at line 121
static expects()

Initiate a mock expectation on the facade.

Tests only. Swaps the resolved facade instance for the worker lifetime.

in Facade at line 135
static protected createFreshMockInstance()

Create a fresh mock instance for the given class.

in Facade at line 147
static protected createMock()

Create a fresh mock instance for the given class.

in Facade at line 157
static protected bool isMock()

Determines whether a mock is set as the instance of the facade.

Return Value

bool

in Facade at line 168
static protected string|null getMockableClass()

Get the mockable class for the bound instance.

Return Value

string|null

in Facade at line 184
static swap(mixed $instance)

Hotswap the underlying instance behind the facade.

Tests only. Replaces the worker-wide resolved facade instance and container binding; runtime use races across coroutines and changes every subsequent facade call.

Parameters

mixed $instance

in Facade at line 196
static bool isFake()

Determines whether a "fake" has been set as the facade instance.

Return Value

bool

in Facade at line 207
static mixed getFacadeRoot()

Get the root object behind the facade.

Return Value

mixed

at line 145
static protected string getFacadeAccessor()

Get the registered name of the component.

Return Value

string

in Facade at line 223
static protected mixed resolveFacadeInstance(string $name)

Resolve the facade root instance from the container.

Parameters

string $name

Return Value

mixed

in Facade at line 246
static void clearResolvedInstance(string|null $name = null)

Clear a resolved facade instance.

Boot or tests only. Clears a worker-wide facade cache entry; concurrent coroutines may still hold the previous resolved instance.

Parameters

string|null $name

Return Value

void

in Facade at line 257
static void clearResolvedInstances()

Clear all of the resolved instances.

Boot or tests only. Clears the worker-wide facade cache; concurrent coroutines may still hold previously resolved instances.

Return Value

void

in Facade at line 265
static Collection defaultAliases()

Get the application default aliases.

Return Value

Collection

in Facade at line 324
static getFacadeApplication()

Get the application instance behind the facade.

in Facade at line 337
static void setFacadeApplication(mixed $app)

Set the application instance.

Tests only. Replaces the worker-wide facade application reference; runtime use races across coroutines and breaks every facade lookup.

Parameters

mixed $app

Return Value

void

in Facade at line 347
static __callStatic(string $method, array $args)

Handle dynamic, static calls to the object.

Parameters

string $method
array $args

Exceptions

RuntimeException

at line 143
static ApplicationBuilder configure(string|null $basePath = 'null')

No description

Parameters

string|null $basePath

Return Value

ApplicationBuilder

at line 143
static string inferBasePath()

No description

Return Value

string

at line 143
static string version()

No description

Return Value

string

at line 143
static bool has(string $id)

No description

Parameters

string $id

Return Value

bool

at line 143
static void bootstrapWith(string[] $bootstrappers)

No description

Parameters

string[] $bootstrappers

Return Value

void

at line 143
static void beforeBootstrapping(string $bootstrapper, Closure $callback)

No description

Parameters

string $bootstrapper
Closure $callback

Return Value

void

at line 143
static void afterBootstrapping(string $bootstrapper, Closure $callback)

No description

Parameters

string $bootstrapper
Closure $callback

Return Value

void

at line 143
static void afterLoadingEnvironment(Closure $callback)

No description

Parameters

Closure $callback

Return Value

void

at line 143
static bool hasBeenBootstrapped()

No description

Return Value

bool

at line 143
static Application setBasePath(string $basePath)

No description

Parameters

string $basePath

Return Value

Application

at line 143
static string path(string $path = '\'\'')

No description

Parameters

string $path

Return Value

string

at line 143
static Application useAppPath(string $path)

No description

Parameters

string $path

Return Value

Application

at line 143
static string basePath(string $path = '\'\'')

No description

Parameters

string $path

Return Value

string

at line 143
static string bootstrapPath(string $path = '\'\'')

No description

Parameters

string $path

Return Value

string

at line 143
static Application useBootstrapPath(string $path)

No description

Parameters

string $path

Return Value

Application

at line 143
static string getBootstrapProvidersPath()

No description

Return Value

string

at line 143
static string configPath(string $path = '\'\'')

No description

Parameters

string $path

Return Value

string

at line 143
static Application useConfigPath(string $path)

No description

Parameters

string $path

Return Value

Application

at line 143
static string databasePath(string $path = '\'\'')

No description

Parameters

string $path

Return Value

string

at line 143
static Application useDatabasePath(string $path)

No description

Parameters

string $path

Return Value

Application

at line 143
static string langPath(string $path = '\'\'')

No description

Parameters

string $path

Return Value

string

at line 143
static Application useLangPath(string $path)

No description

Parameters

string $path

Return Value

Application

at line 143
static string publicPath(string $path = '\'\'')

No description

Parameters

string $path

Return Value

string

at line 143
static Application usePublicPath(string $path)

No description

Parameters

string $path

Return Value

Application

at line 143
static string resourcePath(string $path = '\'\'')

No description

Parameters

string $path

Return Value

string

at line 143
static string viewPath(string $path = '\'\'')

No description

Parameters

string $path

Return Value

string

at line 143
static string storagePath(string $path = '\'\'')

No description

Parameters

string $path

Return Value

string

at line 143
static Application useStoragePath(string $path)

No description

Parameters

string $path

Return Value

Application

at line 143
static string|null environmentPath()

No description

Return Value

string|null

at line 143
static Application useEnvironmentPath(string $path)

No description

Parameters

string $path

Return Value

Application

at line 143
static Application loadEnvironmentFrom(string $file)

No description

Parameters

string $file

Return Value

Application

at line 143
static string environmentFile()

No description

Return Value

string

at line 143
static string environmentFilePath()

No description

Return Value

string

at line 143
static bool configurationIsCached()

No description

Return Value

bool

at line 143
static string getCachedConfigPath()

No description

Return Value

string

at line 143
static string getCachedPackagesPath()

No description

Return Value

string

at line 143
static bool routesAreCached()

No description

Return Value

bool

at line 143
static string getCachedRoutesPath()

No description

Return Value

string

at line 143
static bool eventsAreCached()

No description

Return Value

bool

at line 143
static string getCachedEventsPath()

No description

Return Value

string

at line 143
static Application addAbsoluteCachePathPrefix(string $prefix)

No description

Parameters

string $prefix

Return Value

Application

at line 143
static string joinPaths(string|null $basePath, string $path = '\'\'')

No description

Parameters

string|null $basePath
string $path

Return Value

string

at line 143
static string|bool environment(array|string ...$environments)

No description

Parameters

array|string ...$environments

Return Value

string|bool

at line 143
static bool isLocal()

No description

Return Value

bool

at line 143
static bool isProduction()

No description

Return Value

bool

at line 143
static string detectEnvironment(Closure $callback)

No description

Parameters

Closure $callback

Return Value

string

at line 143
static bool runningInConsole()

No description

Return Value

bool

at line 143
static bool runningConsoleCommand(array|string ...$commands)

No description

Parameters

array|string ...$commands

Return Value

bool

at line 143
static void setRunningInConsole(bool $runningInConsole)

No description

Parameters

bool $runningInConsole

Return Value

void

at line 143
static bool runningUnitTests()

No description

Return Value

bool

at line 143
static bool hasDebugModeEnabled()

No description

Return Value

bool

at line 143
static MaintenanceMode maintenanceMode()

No description

Return Value

MaintenanceMode

at line 143
static bool isDownForMaintenance()

No description

Return Value

bool

at line 143
static int handleCommand(InputInterface $input)

No description

Parameters

InputInterface $input

Return Value

int

at line 143
static bool shouldMergeFrameworkConfiguration()

No description

Return Value

bool

at line 143
static Application dontMergeFrameworkConfiguration()

No description

Return Value

Application

at line 143
static bool shouldSkipMiddleware()

No description

Return Value

bool

at line 143
static void registered(callable $callback)

No description

Parameters

callable $callback

Return Value

void

at line 143
static void registerConfiguredProviders()

No description

Return Value

void

at line 143
static ServiceProvider register(ServiceProvider|string $provider, bool $force = 'false')

No description

Parameters

ServiceProvider|string $provider
bool $force

Return Value

ServiceProvider

at line 143
static ServiceProvider|null getProvider(ServiceProvider|string $provider)

No description

Parameters

ServiceProvider|string $provider

Return Value

ServiceProvider|null

at line 143
static array getProviders(ServiceProvider|string $provider)

No description

Parameters

ServiceProvider|string $provider

Return Value

array

at line 143
static ServiceProvider resolveProvider(string $provider)

No description

Parameters

string $provider

Return Value

ServiceProvider

at line 143
static bool isBooted()

No description

Return Value

bool

at line 143
static void boot()

No description

Return Value

void

at line 143
static void booting(callable $callback)

No description

Parameters

callable $callback

Return Value

void

at line 143
static void booted(callable $callback)

No description

Parameters

callable $callback

Return Value

void

at line 143
static Application terminating(callable|string $callback)

No description

Parameters

callable|string $callback

Return Value

Application

at line 143
static void terminate()

No description

Return Value

void

at line 143
static never abort(int $code, string $message = '\'\'', array $headers = '[]')

No description

Parameters

int $code
string $message
array $headers

Return Value

never

at line 143
static void array()

<string, bool> getLoadedProviders()

Return Value

void

at line 143
static bool providerIsLoaded(string $provider)

No description

Parameters

string $provider

Return Value

bool

at line 143
static string getLocale()

No description

Return Value

string

at line 143
static bool isLocale(string $locale)

No description

Parameters

string $locale

Return Value

bool

at line 143
static string currentLocale()

No description

Return Value

string

at line 143
static string getFallbackLocale()

No description

Return Value

string

at line 143
static void setLocale(string $locale)

No description

Parameters

string $locale

Return Value

void

at line 143
static void setFallbackLocale(string $fallbackLocale)

No description

Parameters

string $fallbackLocale

Return Value

void

at line 143
static void flush()

No description

Return Value

void

at line 143
static string getNamespace()

No description

Return Value

string

at line 143
static ContextualBindingBuilder when(array|string $concrete)

No description

Parameters

array|string $concrete

Return Value

ContextualBindingBuilder

at line 143
static void whenHasAttribute(string $attribute, Closure $handler)

No description

Parameters

string $attribute
Closure $handler

Return Value

void

at line 143
static bool bound(string $abstract)

No description

Parameters

string $abstract

Return Value

bool

at line 143
static bool isShared(string $abstract)

No description

Parameters

string $abstract

Return Value

bool

at line 143
static bool isScoped(string $abstract)

No description

Parameters

string $abstract

Return Value

bool

at line 143
static bool isAlias(string $name)

No description

Parameters

string $name

Return Value

bool

at line 143
static void bind(Closure|string $abstract, Closure|string|null $concrete = 'null', bool $shared = 'false')

No description

Parameters

Closure|string $abstract
Closure|string|null $concrete
bool $shared

Return Value

void

at line 143
static bool hasMethodBinding(string $method)

No description

Parameters

string $method

Return Value

bool

at line 143
static void bindMethod(array|string $method, Closure $callback)

No description

Parameters

array|string $method
Closure $callback

Return Value

void

at line 143
static mixed callMethodBinding(string $method, mixed $instance)

No description

Parameters

string $method
mixed $instance

Return Value

mixed

at line 143
static void addContextualBinding(string $concrete, string $abstract, mixed $implementation)

No description

Parameters

string $concrete
string $abstract
mixed $implementation

Return Value

void

at line 143
static void bindIf(Closure|string $abstract, Closure|string|null $concrete = 'null', bool $shared = 'false')

No description

Parameters

Closure|string $abstract
Closure|string|null $concrete
bool $shared

Return Value

void

at line 143
static void singleton(Closure|string $abstract, Closure|string|null $concrete = 'null')

No description

Parameters

Closure|string $abstract
Closure|string|null $concrete

Return Value

void

at line 143
static void singletonIf(Closure|string $abstract, Closure|string|null $concrete = 'null')

No description

Parameters

Closure|string $abstract
Closure|string|null $concrete

Return Value

void

at line 143
static void scoped(Closure|string $abstract, Closure|string|null $concrete = 'null')

No description

Parameters

Closure|string $abstract
Closure|string|null $concrete

Return Value

void

at line 143
static void scopedIf(Closure|string $abstract, Closure|string|null $concrete = 'null')

No description

Parameters

Closure|string $abstract
Closure|string|null $concrete

Return Value

void

at line 143
static void extend(string $abstract, Closure $closure)

No description

Parameters

string $abstract
Closure $closure

Return Value

void

at line 143
static mixed instance(string $abstract, mixed $instance)

No description

Parameters

string $abstract
mixed $instance

Return Value

mixed

at line 143
static void tag(array|string $abstracts, array|string $tags)

No description

Parameters

array|string $abstracts
array|string $tags

Return Value

void

at line 143
static iterable tagged(string $tag)

No description

Parameters

string $tag

Return Value

iterable

at line 143
static void alias(string $abstract, string $alias)

No description

Parameters

string $abstract
string $alias

Return Value

void

at line 143
static mixed rebinding(string $abstract, Closure $callback)

No description

Parameters

string $abstract
Closure $callback

Return Value

mixed

at line 143
static mixed refresh(string $abstract, mixed $target, string $method)

No description

Parameters

string $abstract
mixed $target
string $method

Return Value

mixed

at line 143
static Closure wrap(Closure $callback, array $parameters = '[]')

No description

Parameters

Closure $callback
array $parameters

Return Value

Closure

at line 143
static mixed call(callable|string $callback, array<string $, mixed> $parameters = '[]', string|null $defaultMethod = 'null')

No description

Parameters

callable|string $callback
array<string $
mixed> $parameters
string|null $defaultMethod

Return Value

mixed

at line 143
static Closure factory(string $abstract)

No description

Parameters

string $abstract

Return Value

Closure

at line 143
static object|mixed makeWith(string $abstract, array $parameters = '[]')

No description

Parameters

string $abstract
array $parameters

Return Value

object|mixed

at line 143
static object|mixed make(string $abstract, array $parameters = '[]')

No description

Parameters

string $abstract
array $parameters

Return Value

object|mixed

at line 143
static object|mixed get(string $id)

No description

Parameters

string $id

Return Value

object|mixed

at line 143
static object build(Closure $concrete)

No description

Parameters

Closure $concrete

Return Value

object

at line 143
static mixed buildWith(Closure $concrete, array<string $, mixed> $parameters = '[]')

No description

Parameters

Closure $concrete
array<string $
mixed> $parameters

Return Value

mixed

at line 143
static mixed resolveFromAttribute(ReflectionAttribute $attribute, ReflectionParameter $parameter)

No description

Parameters

ReflectionAttribute $attribute
ReflectionParameter $parameter

Return Value

mixed

at line 143
static void beforeResolving(Closure|string $abstract, Closure|null $callback = 'null')

No description

Parameters

Closure|string $abstract
Closure|null $callback

Return Value

void

at line 143
static void resolving(Closure|string $abstract, Closure|null $callback = 'null')

No description

Parameters

Closure|string $abstract
Closure|null $callback

Return Value

void

at line 143
static void afterResolving(Closure|string $abstract, Closure|null $callback = 'null')

No description

Parameters

Closure|string $abstract
Closure|null $callback

Return Value

void

at line 143
static void afterResolvingAttribute(string $attribute, Closure $callback)

No description

Parameters

string $attribute
Closure $callback

Return Value

void

at line 143
static void fireAfterResolvingAttributeCallbacks(ReflectionAttribute[] $attributes, mixed $object)

No description

Parameters

ReflectionAttribute[] $attributes
mixed $object

Return Value

void

at line 143
static null|string currentlyResolving()

No description

Return Value

null|string

at line 143
static array getBindings()

No description

Return Value

array

at line 143
static string getAlias(string $abstract)

No description

Parameters

string $abstract

Return Value

string

at line 143
static void forgetExtenders(string $abstract)

No description

Parameters

string $abstract

Return Value

void

at line 143
static void forgetInstance(string $abstract)

No description

Parameters

string $abstract

Return Value

void

at line 143
static void forgetInstances()

No description

Return Value

void

at line 143
static void forgetScopedInstances()

No description

Return Value

void

at line 143
static void resolveEnvironmentUsing(null|callable $callback)

No description

Parameters

null|callable $callback

Return Value

void

at line 143
static bool currentEnvironmentIs(array<int $, string>|string $environments)

No description

Parameters

array<int $
string>|string $environments

Return Value

bool

at line 143
static Application getInstance()

No description

Return Value

Application

at line 143
static Container|null setInstance(Container|null $container = 'null')

No description

Parameters

Container|null $container

Return Value

Container|null

at line 143
static void macro(string $name, callable|object $macro)

No description

Parameters

string $name
callable|object $macro

Return Value

void

at line 143
static void mixin(object $mixin, bool $replace = 'true')

No description

Parameters

object $mixin
bool $replace

Return Value

void

at line 143
static bool hasMacro(string $name)

No description

Parameters

string $name

Return Value

bool

at line 143
static void flushMacros()

No description

Return Value

void