class EmbedOne extends AbstractField (View source)

Embeds a single document

Properties

string $name from AbstractField
string $type
bool $nullable from AbstractField
mixed[] $options from AbstractField
string|null $strategy from AbstractField
bool $embedded
string|null $targetDocument
string|null $discriminatorField
string|null $discriminatorMap
string|null $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