class
Illuminate
/
Foundation
/
Http
/
Middleware
/
TrimStrings
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
TrimStrings
Extends
Properties
protected
static
$skipCallbacks array
All of the registered skip callbacks.
Default: []
protected
$except
array
The attributes that should not be trimmed.
Default: []
Methods
protected
transform ( $key , $value ) : mixed
Transform the given value.
Parameters
- $key string
- $value mixed