Свойство | Тип | Описание | |
---|---|---|---|
$alias | string | The alias this association uses. | |
$entityClass | string | The class to use for the embeded document. | |
$property | string | The property the embedded document is located under. |
Метод | Описание | |
---|---|---|
__construct ( string $alias, array $options = [] ) | Constructor | |
alias ( ) : string | Get the alias for this embed. | |
entityClass ( string | null $name = null ) : string | Get/set the entity/document class used for this embed. | |
hydrate ( array $data, array $options ) : |
Hydrate instance(s) from the parent documents data. | |
property ( string | null $name = null ) : string | Get/set the property this embed is attached to. | |
type ( ) : string | Get the type of association this is. |
public __construct ( string $alias, array $options = [] ) | ||
$alias | string | The alias/name for the embedded document. |
$options | array | The options for the embedded document. |
protected string $alias | ||
Результат | string |
protected string $entityClass | ||
Результат | string |
protected string $property | ||
Результат | string |