Request::bearerToken()

string|null bearerToken() Get the bearer token from the request headers. Return Value string|null

Request::allFiles()

array allFiles() Get an array of all of the files on the request. Return Value array

Request::all()

array all() Get all of the input and files for the request. Return Value array

Request::ajax()

bool ajax() Determine if the request is the result of an AJAX call. Return Value bool

Request::acceptsJson()

bool acceptsJson() Determines whether a request accepts JSON. Return Value bool

Request::acceptsHtml()

bool acceptsHtml() Determines whether a request accepts HTML. Return Value bool

Request::accepts()

bool accepts(string|array $contentTypes) Determines whether the current requests accepts a given content type. Parameters string|array $contentTypes Return Value bool

Request

Request class Request extends Facade (View source) Methods static void swap(mixed $instance) Hotswap the underlying instance behind the facade. from Facade static Expectation shouldReceive() Initiate a mock expectation on the facade. from Facade static mixed getFacadeRoot() Get the root object behind the facade. from Facade static void clearResolvedInstance(string $name) Clear a resolved facade instance. from Facade static void clearResolvedInstances() Clear all of the res

Request

Request class Request extends Request implements Arrayable, ArrayAccess (View source) Traits Macroable

Repository::__construct()

void __construct(array $items = array()) Create a new configuration repository. Parameters array $items Return Value void