\phpDocumentor\Descriptor\TraitsBelongsToClassOrInterface

Summary

Methods
Properties
Constants
setParent()
getParent()
No public properties found
No constants found
No protected methods found
$parent
N/A
No private methods found
No private properties found
N/A

Properties

$parent

$parent : \phpDocumentor\Descriptor\Interfaces\ClassInterface|\phpDocumentor\Descriptor\Interfaces\InterfaceInterface|null

Type

\phpDocumentor\Descriptor\Interfaces\ClassInterface|\phpDocumentor\Descriptor\Interfaces\InterfaceInterface|null —

Methods

setParent()

setParent(mixed  $parent) : void

Registers a parent class or interface with this constant.

Parameters

mixed $parent

Throws

\InvalidArgumentException

If anything other than a class or interface was passed.

getParent()

getParent() : \phpDocumentor\Descriptor\Interfaces\ClassInterface|\phpDocumentor\Descriptor\Interfaces\InterfaceInterface|null

Returns

\phpDocumentor\Descriptor\Interfaces\ClassInterface|\phpDocumentor\Descriptor\Interfaces\InterfaceInterface|null —