setParent()
setParent(
Deprecated: Please use getType in /opt/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
Deprecated: Please use getType in /opt/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\phpDocumentor\Descriptor\Interfaces\ClassInterface|\phpDocumentor\Descriptor\Interfaces\InterfaceInterface|\phpDocumentor\Descriptor\Interfaces\TraitInterface $parent)
Deprecated: Please use getType in /opt/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
Deprecated: Please use getType in /opt/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
: void
Registers a parent class, interface or trait.
Parameters
Deprecated: Please use getType in /opt/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\phpDocumentor\Descriptor\Interfaces\ClassInterface|\phpDocumentor\Descriptor\Interfaces\InterfaceInterface|\phpDocumentor\Descriptor\Interfaces\TraitInterface |
$parent |
|
Throws
-
Deprecated: Please use getType in /opt/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\InvalidArgumentException
If anything other than a class, interface or trait was passed.
Deprecated: Please use getType in /opt/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50