platform/api/laravel/Foundation/Http/Middleware/ConvertEmptyStringsToNull.yaml

61 lines
1.2 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
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: []