platform/api/laravel/Validation/Rules/ArrayRule.yaml
2024-09-02 10:44:11 -07:00

47 lines
961 B
YAML

name: ArrayRule
class_comment: null
dependencies:
- name: BackedEnum
type: class
source: BackedEnum
- name: Arrayable
type: class
source: Illuminate\Contracts\Support\Arrayable
- name: Stringable
type: class
source: Stringable
- name: UnitEnum
type: class
source: UnitEnum
properties:
- name: keys
visibility: protected
comment: '# * The accepted keys.
# *
# * @var array'
methods:
- name: __construct
visibility: public
parameters:
- name: keys
default: 'null'
comment: "# * The accepted keys.\n# *\n# * @var array\n# */\n# protected $keys;\n\
# \n# /**\n# * Create a new array rule instance.\n# *\n# * @param array|null\
\ $keys\n# * @return void"
- name: __toString
visibility: public
parameters: []
comment: '# * Convert the rule to a validation string.
# *
# * @return string'
traits:
- BackedEnum
- Illuminate\Contracts\Support\Arrayable
- Stringable
- UnitEnum
interfaces:
- Stringable