class ReferenceOne extends AbstractField (View source)

Specifies a one-to-one relationship to a different document

Properties

string $name from AbstractField
string $type
bool $nullable from AbstractField
mixed[] $options from AbstractField
string|null $strategy from AbstractField
bool $reference
string $storeAs
string|null $targetDocument
string|null $discriminatorField
string[]|null $discriminatorMap
string|null $defaultDiscriminatorValue
string[]|null $cascade
bool|null $orphanRemoval
string|null $inversedBy
string|null $mappedBy
string|null $repositoryMethod
array $sort
array $criteria
int|null $limit
int|null $skip

Methods

getDeprecationMessage()

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

isDeprecated()

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

Details

getDeprecationMessage()

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

isDeprecated()

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