Property | Type | Description | |
---|---|---|---|
$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. |
Method | Description | |
---|---|---|
__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 $entityClass | ||
return | string |
protected string $property | ||
return | string |