platform/api/laravel/Database/Eloquent/Relations/Concerns/InteractsWithDictionary.yaml

35 lines
637 B
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
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: []