Documentation

ForeignEntityModel extends AbstractModel
in package

FinalYes

Table of Contents

Properties

$entityModel  : EntityModel
$referenceKeyInChild  : string
$referenceKeyInParent  : string

Methods

__construct()  : mixed
getEntityModel()  : EntityModel
getNotNullConstraint()  : INotNullConstraint|null
getReferencedKeyInChild()  : string
getReferenceKeyInParent()  : string
isNullable()  : bool
Shorter way to check whether the content can be null.

Properties

Methods

__construct()

public __construct(EntityModel $entityModel, string $referenceKeyInChild, string $referenceKeyInParent[, bool $isNullable = false ]) : mixed
Parameters
$entityModel : EntityModel
$referenceKeyInChild : string
$referenceKeyInParent : string
$isNullable : bool = false

getReferencedKeyInChild()

public getReferencedKeyInChild() : string
Return values
string

getReferenceKeyInParent()

public getReferenceKeyInParent() : string
Return values
string

isNullable()

Shorter way to check whether the content can be null.

public isNullable() : bool
Attributes
#[Override]
Return values
bool
On this page

Search results