Pipeline
class Pipeline 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. |
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
thenReturn()
No description
static Pipeline
static Pipeline|mixed
when(Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
No description
static Pipeline|mixed
unless(Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
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.
static Pipeline|mixed
when(Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
No description