tp TouchPointWP Interfaces hierarchical - TenthPres/TouchPoint-WP GitHub Wiki
tp\TouchPointWP\Interfaces\hierarchical
Some items are hierarchical. This trait provides a simpler interface for interacting with parents and allowing attributes to be inherited by children from parents.
- Full name:
\tp\TouchPointWP\Interfaces\hierarchical
Methods
getParent
Get the parent of this object which may be an object of a different class.
public getParent(): mixed
Returns null if there is no parent.