mixed __call(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException
bool wantsJson() Determine if the current request is asking for JSON in return. Return Value bool
mixed user(string|null $guard = null) Get the user making the request. Parameters string|null $guard Return Value mixed
string url() Get the URL (no query string) for the request. Return Value string
array toArray() Get all of the input and files for the request. Return Value array
static void swap(mixed $instance) Hotswap the underlying instance behind the facade. Parameters mixed $instance Return Value void
static Expectation shouldReceive() Initiate a mock expectation on the facade. Return Value Expectation
$this setUserResolver(Closure $callback) Set the user resolver callback. Parameters Closure $callback Return Value $this
$this setRouteResolver(Closure $callback) Set the route resolver callback. Parameters Closure $callback Return Value $this
static void setFacadeApplication(Application $app) Set the application instance. Parameters Application $app Return Value void
Page 252 of 996