Interface Yiisoft\Hydrator\Attribute\Data\DataAttributeResolverInterface
An interface for resolvers of attributes that implement {@see DataAttributeInterface}.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| prepareData() | Prepare a data object ({@see DataInterface}) that used for hydration. | Yiisoft\ |
Method Details
Prepare a data object ({@see DataInterface}) that used for hydration.
| public abstract Yiisoft\ | ||
| $attribute | Yiisoft\ |
The attribute to be resolved. |
| $data | Yiisoft\ |
Current data object ({@see \ |
public function prepareData(DataAttributeInterface $attribute, DataInterface $data): DataInterface;
User Contributed Notes
Leave a comment
Join the conversation to share a note.