PreventRequestForgery

Illuminate\Foundation\Http\Middleware\PreventRequestForgery

class src/Illuminate/Foundation/Http/Middleware/PreventRequestForgery.php

__construct

v13.0.0 から

__construct(Illuminate\Contracts\Foundation\Application $app, Illuminate\Contracts\Encryption\Encrypter $encrypter)
@param \Illuminate\Contracts\Foundation\Application $app
@param \Illuminate\Contracts\Encryption\Encrypter $encrypter
  1. v13.0.0 追加
    変更後
    __construct(Illuminate\Contracts\Foundation\Application $app, Illuminate\Contracts\Encryption\Encrypter $encrypter) [@param \Illuminate\Contracts\Foundation\Application $app, @param \Illuminate\Contracts\Encryption\Encrypter $encrypter]

allowSameSite

v13.0.0 から

static

static allowSameSite($allow = true)
@param bool $allow
@return void
  1. v13.0.0 追加
    変更後
    static allowSameSite($allow = true) [@param bool $allow, @return void]

except

v13.0.0 から

static

static except($uris)
@param array|string $uris
@return void
  1. v13.0.0 追加
    変更後
    static except($uris) [@param array|string $uris, @return void]

flushState

v13.0.0 から

static

static flushState()
@return void
  1. v13.0.0 追加
    変更後
    static flushState() [@return void]

getExcludedPaths

v13.0.0 から

getExcludedPaths()
@return array
  1. v13.0.0 追加
    変更後
    getExcludedPaths() [@return array]

handle

v13.0.0 から

handle($request, Closure $next)
@param \Illuminate\Http\Request $request
@param \Closure $next
@return mixed
  1. v13.0.0 追加
    変更後
    handle($request, Closure $next) [@param \Illuminate\Http\Request $request, @param \Closure $next, @return mixed]

serialized

v13.0.0 から

static

static serialized()
@return bool
  1. v13.0.0 追加
    変更後
    static serialized() [@return bool]

shouldAddXsrfTokenCookie

v13.0.0 から

shouldAddXsrfTokenCookie()
@return bool
  1. v13.0.0 追加
    変更後
    shouldAddXsrfTokenCookie() [@return bool]

useOriginOnly

v13.0.0 から

static

static useOriginOnly($originOnly = true)
@param bool $originOnly
@return void
  1. v13.0.0 追加
    変更後
    static useOriginOnly($originOnly = true) [@param bool $originOnly, @return void]