api/laravel/Database/Eloquent/Casts/AsArrayObject.yaml

54 lines
1.2 KiB
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
name: AsArrayObject
class_comment: null
dependencies:
- name: Castable
type: class
source: Illuminate\Contracts\Database\Eloquent\Castable
- name: CastsAttributes
type: class
source: Illuminate\Contracts\Database\Eloquent\CastsAttributes
properties: []
methods:
- name: castUsing
visibility: public
parameters:
- name: arguments
comment: '# * Get the caster class to use when casting from / to this cast target.
# *
# * @param array $arguments
# * @return \Illuminate\Contracts\Database\Eloquent\CastsAttributes<\Illuminate\Database\Eloquent\Casts\ArrayObject<array-key,
mixed>, iterable>'
- name: get
visibility: public
parameters:
- name: model
- name: key
- name: value
- name: attributes
comment: null
- name: set
visibility: public
parameters:
- name: model
- name: key
- name: value
- name: attributes
comment: null
- name: serialize
visibility: public
parameters:
- name: model
- name: key
- name: value
- name: attributes
comment: null
traits:
- Illuminate\Contracts\Database\Eloquent\Castable
- Illuminate\Contracts\Database\Eloquent\CastsAttributes
interfaces:
- Castable
- CastsAttributes