PHP Класс Bugsnag\BugsnagLaravel\Request\LaravelRequest

Наследование: implements Bugsnag\Request\RequestInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$request Illuminate\Http\Request The illuminate request instance.

Открытые методы

Метод Описание
__construct ( Illuminate\Http\Request $request ) : void Create a new laravel request instance.
getContext ( ) : string | null Get the request context.
getCookies ( ) : array Get the cookies.
getMetaData ( ) : array Get the request formatted as meta data.
getSession ( ) : array Get the session data.
getUserId ( ) : string | null Get the request user id.
isRequest ( ) : boolean Are we currently processing a request?

Описание методов

__construct() публичный Метод

Create a new laravel request instance.
public __construct ( Illuminate\Http\Request $request ) : void
$request Illuminate\Http\Request
Результат void

getContext() публичный Метод

Get the request context.
public getContext ( ) : string | null
Результат string | null

getCookies() публичный Метод

Get the cookies.
public getCookies ( ) : array
Результат array

getMetaData() публичный Метод

Get the request formatted as meta data.
public getMetaData ( ) : array
Результат array

getSession() публичный Метод

Get the session data.
public getSession ( ) : array
Результат array

getUserId() публичный Метод

Get the request user id.
public getUserId ( ) : string | null
Результат string | null

isRequest() публичный Метод

Are we currently processing a request?
public isRequest ( ) : boolean
Результат boolean

Описание свойств

$request защищенное свойство

The illuminate request instance.
protected Request,Illuminate\Http $request
Результат Illuminate\Http\Request