프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 $entityClass | ||
리턴 | string |
protected string $property | ||
리턴 | string |