platform/api/laravel/Contracts/Routing/Registrar.yaml

163 lines
3.1 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: Registrar
class_comment: null
dependencies: []
properties: []
methods:
- name: get
visibility: public
parameters:
- name: uri
- name: action
comment: '# * Register a new GET route with the router.
# *
# * @param string $uri
# * @param array|string|callable $action
# * @return \Illuminate\Routing\Route'
- name: post
visibility: public
parameters:
- name: uri
- name: action
comment: '# * Register a new POST route with the router.
# *
# * @param string $uri
# * @param array|string|callable $action
# * @return \Illuminate\Routing\Route'
- name: put
visibility: public
parameters:
- name: uri
- name: action
comment: '# * Register a new PUT route with the router.
# *
# * @param string $uri
# * @param array|string|callable $action
# * @return \Illuminate\Routing\Route'
- name: delete
visibility: public
parameters:
- name: uri
- name: action
comment: '# * Register a new DELETE route with the router.
# *
# * @param string $uri
# * @param array|string|callable $action
# * @return \Illuminate\Routing\Route'
- name: patch
visibility: public
parameters:
- name: uri
- name: action
comment: '# * Register a new PATCH route with the router.
# *
# * @param string $uri
# * @param array|string|callable $action
# * @return \Illuminate\Routing\Route'
- name: options
visibility: public
parameters:
- name: uri
- name: action
comment: '# * Register a new OPTIONS route with the router.
# *
# * @param string $uri
# * @param array|string|callable $action
# * @return \Illuminate\Routing\Route'
- name: match
visibility: public
parameters:
- name: methods
- name: uri
- name: action
comment: '# * Register a new route with the given verbs.
# *
# * @param array|string $methods
# * @param string $uri
# * @param array|string|callable $action
# * @return \Illuminate\Routing\Route'
- name: resource
visibility: public
parameters:
- name: name
- name: controller
- name: options
default: '[]'
comment: '# * Route a resource to a controller.
# *
# * @param string $name
# * @param string $controller
# * @param array $options
# * @return \Illuminate\Routing\PendingResourceRegistration'
- name: group
visibility: public
parameters:
- name: attributes
- name: routes
comment: '# * Create a route group with shared attributes.
# *
# * @param array $attributes
# * @param \Closure|string $routes
# * @return void'
- name: substituteBindings
visibility: public
parameters:
- name: route
comment: '# * Substitute the route bindings onto the route.
# *
# * @param \Illuminate\Routing\Route $route
# * @return \Illuminate\Routing\Route'
- name: substituteImplicitBindings
visibility: public
parameters:
- name: route
comment: '# * Substitute the implicit Eloquent model bindings for the route.
# *
# * @param \Illuminate\Routing\Route $route
# * @return void'
traits: []
interfaces: []