api/laravel/Validation/Rules/NotIn.yaml

56 lines
1.2 KiB
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
name: NotIn
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: rule
visibility: protected
comment: '# * The name of the rule.
# *
# * @var string'
- name: values
visibility: protected
comment: '# * The accepted values.
# *
# * @var array'
methods:
- name: __construct
visibility: public
parameters:
- name: values
comment: "# * The name of the rule.\n# *\n# * @var string\n# */\n# protected $rule\
\ = 'not_in';\n# \n# /**\n# * The accepted values.\n# *\n# * @var array\n# */\n\
# protected $values;\n# \n# /**\n# * Create a new \"not in\" rule instance.\n\
# *\n# * @param \\Illuminate\\Contracts\\Support\\Arrayable|\\BackedEnum|\\UnitEnum|array|string\
\ $values\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