class ReferenceMany extends AbstractField (View source)

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

Properties

string $name from AbstractField
string $type
bool $nullable from AbstractField
mixed[] $options from AbstractField
string $strategy
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
string|null $collectionClass
string[] $prime

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