NormalizedModel
class NormalizedModel implements Normalized
Properties
| protected array<string, mixed> | $properties |
Methods
mixed
getProperty(string $name, DataProperty $dataProperty)
Get one declared property without serializing the model.
mixed
fetchNewProperty(string $name, DataProperty $dataProperty)
Read and memoize one model attribute or relation.
Details
at line 19
__construct(Model $model)
Create a normalized model source.
at line 27
mixed
getProperty(string $name, DataProperty $dataProperty)
Get one declared property without serializing the model.
at line 39
protected mixed
fetchNewProperty(string $name, DataProperty $dataProperty)
Read and memoize one model attribute or relation.