class Illuminate / Foundation / Http / Middleware / ConvertEmptyStringsToNull
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

ConvertEmptyStringsToNull

Extends

Properties

protected static

$skipCallbacks array

All of the registered skip callbacks.

Default: []

Methods

public

handle ( $request , Closure $next ) : mixed

Handle an incoming request.

Parameters

protected

transform ( $key , $value ) : mixed

Transform the given value.

Parameters

  • $key string
  • $value mixed
public static

skipWhen ( Closure $callback ) : void

Register a callback that instructs the middleware to be skipped.

Parameters