BelongsToClassTraitOrInterface
Table of Contents
Properties
Methods
- getParent() : ClassInterface|InterfaceInterface|TraitInterface|null
- setParent() : void
- Registers a parent class, interface or trait.
Properties
$parent
protected
ClassInterface|InterfaceInterface|TraitInterface|null
$parent
= null
Methods
getParent()
public
getParent() : ClassInterface|InterfaceInterface|TraitInterface|null
Return values
ClassInterface|InterfaceInterface|TraitInterface|nullsetParent()
Registers a parent class, interface or trait.
public
setParent(ClassInterface|InterfaceInterface|TraitInterface $parent) : void
Parameters
- $parent : ClassInterface|InterfaceInterface|TraitInterface