PHP 클래스 Spatie\CookieConsent\CookieConsentMiddleware

파일 보기 프로젝트 열기: spatie/laravel-cookie-consent

보호된 프로퍼티들

프로퍼티 타입 설명
$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