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

50 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
name: AsStringable
class_comment: null
dependencies:
- name: Castable
type: class
source: Illuminate\Contracts\Database\Eloquent\Castable
- name: CastsAttributes
type: class
source: Illuminate\Contracts\Database\Eloquent\CastsAttributes
- name: Str
type: class
source: Illuminate\Support\Str
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\Support\Stringable,
string|\Stringable>'
- 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
traits:
- Illuminate\Contracts\Database\Eloquent\Castable
- Illuminate\Contracts\Database\Eloquent\CastsAttributes
- Illuminate\Support\Str
interfaces:
- Castable
- CastsAttributes