Concurrency
class Concurrency extends Facade (View source)
Properties
static protected Application|null | $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
from
Facade
static MockInterface
createFreshMockInstance()
Create a fresh mock instance for the given class.
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 Application|null
getFacadeApplication()
Get the application instance behind the facade.
from
Facade
static mixed
__callStatic(string $method, array $args)
Handle dynamic, static calls to the object.
from
Facade
static mixed
driver(string|null $name = null)
No description
static ProcessDriver
createProcessDriver(array $config)
No description
static ForkDriver
createForkDriver(array $config)
No description
static SyncDriver
createSyncDriver(array $config)
No description
static string
getDefaultInstance()
No description
static void
setDefaultInstance(string $name)
No description
static array
getInstanceConfig(string $name)
No description
static mixed
instance(string|null $name = null)
No description
static ConcurrencyManager
forgetInstance(array|string|null $name = null)
No description
static void
purge(string|null $name = null)
No description
static ConcurrencyManager
static ConcurrencyManager
static array
run(Closure|array $tasks)
No description
static DeferredCallback
defer(Closure|array $tasks)
No description
Details
in
Facade at line 47
static void
resolved(Closure $callback)
Run a Closure when the facade has been resolved.
static protected MockInterface
createFreshMockInstance()
Create a fresh mock instance for the given class.
static protected mixed
resolveFacadeInstance(string $name)
Resolve the facade root instance from the container.