EntityPointerLink
An EntityPointerLink is used to connect EntityPointer instances
Table of Contents
Properties
- $ancestor : EntityPointerLink|null
- $subject : EntityPointer
Methods
- __construct() : mixed
- getAncestor() : EntityPointerLink|null
- getHead() : EntityPointerLink
- getSubject() : EntityPointer
- withAncestor() : self
Properties
$ancestor
protected
EntityPointerLink|null
$ancestor
$subject
protected
EntityPointer
$subject
Methods
__construct()
public
__construct(EntityPointer $subject) : mixed
Parameters
- $subject : EntityPointer
getAncestor()
public
getAncestor() : EntityPointerLink|null
Return values
EntityPointerLink|nullgetHead()
public
getHead() : EntityPointerLink
Return values
EntityPointerLinkgetSubject()
public
getSubject() : EntityPointer
Return values
EntityPointerwithAncestor()
public
withAncestor(EntityPointerLink $ancestor) : self
Parameters
- $ancestor : EntityPointerLink