platform/api/laravel/Database/Eloquent/Relations/Concerns/InteractsWithDictionary.yaml
2024-09-02 10:44:11 -07:00

34 lines
637 B
YAML

name: InteractsWithDictionary
class_comment: null
dependencies:
- name: BackedEnum
type: class
source: BackedEnum
- name: InvalidArgumentException
type: class
source: InvalidArgumentException
- name: UnitEnum
type: class
source: UnitEnum
properties: []
methods:
- name: getDictionaryKey
visibility: protected
parameters:
- name: attribute
comment: '# * Get a dictionary key attribute - casting it to a string if necessary.
# *
# * @param mixed $attribute
# * @return mixed
# *
# * @throws \InvalidArgumentException'
traits:
- BackedEnum
- InvalidArgumentException
- UnitEnum
interfaces: []