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

95 lines
1.6 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: TransformsRequest
class_comment: null
dependencies:
- name: Closure
type: class
source: Closure
- name: ParameterBag
type: class
source: Symfony\Component\HttpFoundation\ParameterBag
properties: []
methods:
- name: handle
visibility: public
parameters:
- name: request
- name: next
comment: '# * Handle an incoming request.
# *
# * @param \Illuminate\Http\Request $request
# * @param \Closure $next
# * @return mixed'
- name: clean
visibility: protected
parameters:
- name: request
comment: '# * Clean the request''s data.
# *
# * @param \Illuminate\Http\Request $request
# * @return void'
- name: cleanParameterBag
visibility: protected
parameters:
- name: bag
comment: '# * Clean the data in the parameter bag.
# *
# * @param \Symfony\Component\HttpFoundation\ParameterBag $bag
# * @return void'
- name: cleanArray
visibility: protected
parameters:
- name: data
- name: keyPrefix
default: ''''''
comment: '# * Clean the data in the given array.
# *
# * @param array $data
# * @param string $keyPrefix
# * @return array'
- name: cleanValue
visibility: protected
parameters:
- name: key
- name: value
comment: '# * Clean the given value.
# *
# * @param string $key
# * @param mixed $value
# * @return mixed'
- name: transform
visibility: protected
parameters:
- name: key
- name: value
comment: '# * Transform the given value.
# *
# * @param string $key
# * @param mixed $value
# * @return mixed'
traits:
- Closure
- Symfony\Component\HttpFoundation\ParameterBag
interfaces: []