\phpDocumentor\Descriptor\TraitsUsesTraits

Summary

Methods
Properties
Constants
setUsedTraits()
getUsedTraits()
No public properties found
No constants found
No protected methods found
$usedTraits
N/A
No private methods found
No private properties found
N/A

Properties

$usedTraits

$usedTraits : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\TraitInterface|\phpDocumentor\Reflection\Fqsen>

Type

\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\TraitInterface|\phpDocumentor\Reflection\Fqsen> — References to traits consumed by this class

Methods

setUsedTraits()

setUsedTraits(\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\TraitInterface|\phpDocumentor\Reflection\Fqsen>  $usedTraits) : void

Sets a collection of all traits used by this class.

Parameters

\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\TraitInterface|\phpDocumentor\Reflection\Fqsen> $usedTraits

getUsedTraits()

getUsedTraits() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\TraitInterface|\phpDocumentor\Reflection\Fqsen>

Returns the traits used by this class.

Returned values may either be a string (when the Trait is not in this project) or a TraitDescriptor.

Returns

\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\TraitInterface|\phpDocumentor\Reflection\Fqsen> —