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

98 lines
2 KiB
YAML

name: CreatesRegularExpressionRouteConstraints
class_comment: null
dependencies:
- name: BackedEnum
type: class
source: BackedEnum
- name: Arr
type: class
source: Illuminate\Support\Arr
properties: []
methods:
- name: whereAlpha
visibility: public
parameters:
- name: parameters
comment: '# * Specify that the given route parameters must be alphabetic.
# *
# * @param array|string $parameters
# * @return $this'
- name: whereAlphaNumeric
visibility: public
parameters:
- name: parameters
comment: '# * Specify that the given route parameters must be alphanumeric.
# *
# * @param array|string $parameters
# * @return $this'
- name: whereNumber
visibility: public
parameters:
- name: parameters
comment: '# * Specify that the given route parameters must be numeric.
# *
# * @param array|string $parameters
# * @return $this'
- name: whereUlid
visibility: public
parameters:
- name: parameters
comment: '# * Specify that the given route parameters must be ULIDs.
# *
# * @param array|string $parameters
# * @return $this'
- name: whereUuid
visibility: public
parameters:
- name: parameters
comment: '# * Specify that the given route parameters must be UUIDs.
# *
# * @param array|string $parameters
# * @return $this'
- name: whereIn
visibility: public
parameters:
- name: parameters
- name: values
comment: '# * Specify that the given route parameters must be one of the given values.
# *
# * @param array|string $parameters
# * @param array $values
# * @return $this'
- name: assignExpressionToParameters
visibility: protected
parameters:
- name: parameters
- name: expression
comment: '# * Apply the given regular expression to the given parameters.
# *
# * @param array|string $parameters
# * @param string $expression
# * @return $this'
traits:
- BackedEnum
- Illuminate\Support\Arr
interfaces: []