class ReferenceOne extends AbstractField (View source)

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

Properties

$name from AbstractField
$type
$nullable from AbstractField
$options from AbstractField
$strategy from AbstractField
$reference
$simple
$storeAs
$targetDocument
$discriminatorField
$discriminatorMap
$defaultDiscriminatorValue
$cascade
$orphanRemoval
$inversedBy
$mappedBy
$repositoryMethod
$sort
$criteria
$limit
$skip

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