class EmbedOne extends AbstractField (View source)

Embeds a single document

Properties

$name from AbstractField
$type
$nullable from AbstractField
$options from AbstractField
$strategy from AbstractField
$embedded
$targetDocument
$discriminatorField
$discriminatorMap
$defaultDiscriminatorValue

Methods

string
getDeprecationMessage()

Gets deprecation message. The method WILL be removed in 2.0.

bool
isDeprecated()

Gets whether the annotation is deprecated. The method WILL be removed in 2.0.

Details

string getDeprecationMessage()

Gets deprecation message. The method WILL be removed in 2.0.

Return Value

string

bool isDeprecated()

Gets whether the annotation is deprecated. The method WILL be removed in 2.0.

Return Value

bool