platform/api/laravel/Database/Eloquent/Casts/AsStringable.yaml
2024-09-02 10:44:11 -07:00

49 lines
1.1 KiB
YAML

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