60 lines
1.2 KiB
YAML
60 lines
1.2 KiB
YAML
name: ConvertEmptyStringsToNull
|
|
class_comment: null
|
|
dependencies:
|
|
- name: Closure
|
|
type: class
|
|
source: Closure
|
|
properties:
|
|
- name: skipCallbacks
|
|
visibility: protected
|
|
comment: '# * All of the registered skip callbacks.
|
|
|
|
# *
|
|
|
|
# * @var array'
|
|
methods:
|
|
- name: handle
|
|
visibility: public
|
|
parameters:
|
|
- name: request
|
|
- name: next
|
|
comment: "# * All of the registered skip callbacks.\n# *\n# * @var array\n# */\n\
|
|
# protected static $skipCallbacks = [];\n# \n# /**\n# * Handle an incoming request.\n\
|
|
# *\n# * @param \\Illuminate\\Http\\Request $request\n# * @param \\Closure\
|
|
\ $next\n# * @return mixed"
|
|
- name: transform
|
|
visibility: protected
|
|
parameters:
|
|
- name: key
|
|
- name: value
|
|
comment: '# * Transform the given value.
|
|
|
|
# *
|
|
|
|
# * @param string $key
|
|
|
|
# * @param mixed $value
|
|
|
|
# * @return mixed'
|
|
- name: skipWhen
|
|
visibility: public
|
|
parameters:
|
|
- name: callback
|
|
comment: '# * Register a callback that instructs the middleware to be skipped.
|
|
|
|
# *
|
|
|
|
# * @param \Closure $callback
|
|
|
|
# * @return void'
|
|
- name: flushState
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * Flush the middleware''s global state.
|
|
|
|
# *
|
|
|
|
# * @return void'
|
|
traits:
|
|
- Closure
|
|
interfaces: []
|