PHP Класс Spatie\CookieConsent\CookieConsentMiddleware

Показать файл Открыть проект

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

Свойство Тип Описание
$app Illuminate\Contracts\Foundation\Application

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

Метод Описание
__construct ( Illuminate\Contracts\Foundation\Application $app )
handle ( Illuminate\Http\Request $request, Closure $next ) : mixed

Защищенные методы

Метод Описание
addCookieConsentScriptToResponse ( Illuminate\Http\Response $response )
containsBodyTag ( Illuminate\Http\Response $response ) : boolean
getLastClosingBodyTagPosition ( string $content = '' ) : integer | boolean

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

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

public __construct ( Illuminate\Contracts\Foundation\Application $app )
$app Illuminate\Contracts\Foundation\Application

addCookieConsentScriptToResponse() защищенный Метод

protected addCookieConsentScriptToResponse ( Illuminate\Http\Response $response )
$response Illuminate\Http\Response

containsBodyTag() защищенный Метод

protected containsBodyTag ( Illuminate\Http\Response $response ) : boolean
$response Illuminate\Http\Response
Результат boolean

getLastClosingBodyTagPosition() защищенный Метод

protected getLastClosingBodyTagPosition ( string $content = '' ) : integer | boolean
$content string
Результат integer | boolean

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

public handle ( Illuminate\Http\Request $request, Closure $next ) : mixed
$request Illuminate\Http\Request
$next Closure
Результат mixed

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

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

protected Application,Illuminate\Contracts\Foundation $app
Результат Illuminate\Contracts\Foundation\Application