class Illuminate / Foundation / Http / Middleware / ConvertEmptyStringsToNull

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