93 lines
1.7 KiB
YAML
93 lines
1.7 KiB
YAML
name: RouteAction
|
|
class_comment: null
|
|
dependencies:
|
|
- name: Arr
|
|
type: class
|
|
source: Illuminate\Support\Arr
|
|
- name: Reflector
|
|
type: class
|
|
source: Illuminate\Support\Reflector
|
|
- name: Str
|
|
type: class
|
|
source: Illuminate\Support\Str
|
|
- name: LogicException
|
|
type: class
|
|
source: LogicException
|
|
- name: UnexpectedValueException
|
|
type: class
|
|
source: UnexpectedValueException
|
|
properties: []
|
|
methods:
|
|
- name: parse
|
|
visibility: public
|
|
parameters:
|
|
- name: uri
|
|
- name: action
|
|
comment: '# * Parse the given action into an array.
|
|
|
|
# *
|
|
|
|
# * @param string $uri
|
|
|
|
# * @param mixed $action
|
|
|
|
# * @return array'
|
|
- name: missingAction
|
|
visibility: protected
|
|
parameters:
|
|
- name: uri
|
|
comment: '# * Get an action for a route that has no action.
|
|
|
|
# *
|
|
|
|
# * @param string $uri
|
|
|
|
# * @return array
|
|
|
|
# *
|
|
|
|
# * @throws \LogicException'
|
|
- name: findCallable
|
|
visibility: protected
|
|
parameters:
|
|
- name: action
|
|
comment: '# * Find the callable in an action array.
|
|
|
|
# *
|
|
|
|
# * @param array $action
|
|
|
|
# * @return callable'
|
|
- name: makeInvokable
|
|
visibility: protected
|
|
parameters:
|
|
- name: action
|
|
comment: '# * Make an action for an invokable controller.
|
|
|
|
# *
|
|
|
|
# * @param string $action
|
|
|
|
# * @return string
|
|
|
|
# *
|
|
|
|
# * @throws \UnexpectedValueException'
|
|
- name: containsSerializedClosure
|
|
visibility: public
|
|
parameters:
|
|
- name: action
|
|
comment: '# * Determine if the given array actions contain a serialized Closure.
|
|
|
|
# *
|
|
|
|
# * @param array $action
|
|
|
|
# * @return bool'
|
|
traits:
|
|
- Illuminate\Support\Arr
|
|
- Illuminate\Support\Reflector
|
|
- Illuminate\Support\Str
|
|
- LogicException
|
|
- UnexpectedValueException
|
|
interfaces: []
|