mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 21:41:19 +08:00
Fix typo in ArrayableTrait.php
embeded -> embedded
This commit is contained in:
@ -103,7 +103,7 @@ trait ArrayableTrait
|
|||||||
* This method will first identify which fields to be included in the resulting array by calling [[resolveFields()]].
|
* This method will first identify which fields to be included in the resulting array by calling [[resolveFields()]].
|
||||||
* It will then turn the model into an array with these fields. If `$recursive` is true,
|
* It will then turn the model into an array with these fields. If `$recursive` is true,
|
||||||
* any embedded objects will also be converted into arrays.
|
* any embedded objects will also be converted into arrays.
|
||||||
* When embeded objects are [[Arrayable]], their respective nested fields will be extracted and passed to [[toArray()]].
|
* When embedded objects are [[Arrayable]], their respective nested fields will be extracted and passed to [[toArray()]].
|
||||||
*
|
*
|
||||||
* If the model implements the [[Linkable]] interface, the resulting array will also have a `_link` element
|
* If the model implements the [[Linkable]] interface, the resulting array will also have a `_link` element
|
||||||
* which refers to a list of links as specified by the interface.
|
* which refers to a list of links as specified by the interface.
|
||||||
|
|||||||
Reference in New Issue
Block a user