api/laravel/Foundation/Http/Middleware/HandlePrecognitiveRequests.yaml
2024-09-26 02:03:21 -07:00

78 lines
2.1 KiB
YAML

name: HandlePrecognitiveRequests
class_comment: null
dependencies:
- name: Container
type: class
source: Illuminate\Container\Container
- name: PrecognitionCallableDispatcher
type: class
source: Illuminate\Foundation\Routing\PrecognitionCallableDispatcher
- name: PrecognitionControllerDispatcher
type: class
source: Illuminate\Foundation\Routing\PrecognitionControllerDispatcher
- name: CallableDispatcherContract
type: class
source: Illuminate\Routing\Contracts\CallableDispatcher
- name: ControllerDispatcherContract
type: class
source: Illuminate\Routing\Contracts\ControllerDispatcher
properties:
- name: container
visibility: protected
comment: '# * The container instance.
# *
# * @var \Illuminate\Container\Container'
methods:
- name: __construct
visibility: public
parameters:
- name: container
comment: "# * The container instance.\n# *\n# * @var \\Illuminate\\Container\\Container\n\
# */\n# protected $container;\n# \n# /**\n# * Create a new middleware instance.\n\
# *\n# * @param \\Illuminate\\Container\\Container $container\n# * @return void"
- name: handle
visibility: public
parameters:
- name: request
- name: next
comment: '# * Handle an incoming request.
# *
# * @param \Illuminate\Http\Request $request
# * @param \Closure $next
# * @return \Illuminate\Http\Response'
- name: prepareForPrecognition
visibility: protected
parameters:
- name: request
comment: '# * Prepare to handle a precognitive request.
# *
# * @param \Illuminate\Http\Request $request
# * @return void'
- name: appendVaryHeader
visibility: protected
parameters:
- name: request
- name: response
comment: '# * Append the appropriate "Vary" header to the given response.
# *
# * @param \Illuminate\Http\Request $request
# * @param \Illuminate\Http\Response $response
# * @return \Illuminate\Http\Response'
traits:
- Illuminate\Container\Container
- Illuminate\Foundation\Routing\PrecognitionCallableDispatcher
- Illuminate\Foundation\Routing\PrecognitionControllerDispatcher
interfaces: []