api/laravel/Routing/ViewController.yaml
2024-09-26 02:03:21 -07:00

51 lines
1.3 KiB
YAML

name: ViewController
class_comment: null
dependencies:
- name: ResponseFactory
type: class
source: Illuminate\Contracts\Routing\ResponseFactory
properties:
- name: response
visibility: protected
comment: '# * The response factory implementation.
# *
# * @var \Illuminate\Contracts\Routing\ResponseFactory'
methods:
- name: __construct
visibility: public
parameters:
- name: response
comment: "# * The response factory implementation.\n# *\n# * @var \\Illuminate\\\
Contracts\\Routing\\ResponseFactory\n# */\n# protected $response;\n# \n# /**\n\
# * Create a new controller instance.\n# *\n# * @param \\Illuminate\\Contracts\\\
Routing\\ResponseFactory $response\n# * @return void"
- name: __invoke
visibility: public
parameters:
- name: '...$args'
comment: '# * Invoke the controller method.
# *
# * @param mixed ...$args
# * @return \Illuminate\Http\Response'
- name: callAction
visibility: public
parameters:
- name: method
- name: parameters
comment: '# * Execute an action on the controller.
# *
# * @param string $method
# * @param array $parameters
# * @return \Symfony\Component\HttpFoundation\Response'
traits:
- Illuminate\Contracts\Routing\ResponseFactory
interfaces: []