W3cubDocs

/Laravel 11

ExcludesPaths

trait ExcludesPaths (View source)

Methods

bool inExceptArray(Request $request)

Determine if the request has a URI that should be excluded.

array getExcludedPaths()

Get the URIs that should be excluded.

Details

protected bool inExceptArray(Request $request)

Determine if the request has a URI that should be excluded.

Parameters

Request $request

Return Value

bool

array getExcludedPaths()

Get the URIs that should be excluded.

Return Value

array

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Foundation/Http/Middleware/Concerns/ExcludesPaths.html