phpDocumentor

UsesTraits

Table of Contents

Properties

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

Methods

getUsedTraits()  : Collection<string|int, \phpDocumentor\Descriptor\Interfaces\TraitInterface|\phpDocumentor\Reflection\Fqsen>
Returns the traits used by this class.
setUsedTraits()  : void
Sets a collection of all traits used by this class.

Properties

$usedTraits

protected Collection<string|int, \phpDocumentor\Descriptor\Interfaces\TraitInterface|\phpDocumentor\Reflection\Fqsen> $usedTraits

References to traits consumed by this class

Methods

getUsedTraits()

Returns the traits used by this class.

public getUsedTraits() : Collection<string|int, \phpDocumentor\Descriptor\Interfaces\TraitInterface|\phpDocumentor\Reflection\Fqsen>

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

Return values
Collection<string|int, \phpDocumentor\Descriptor\Interfaces\TraitInterface|\phpDocumentor\Reflection\Fqsen>

setUsedTraits()

Sets a collection of all traits used by this class.

public setUsedTraits(Collection<string|int, \phpDocumentor\Descriptor\Interfaces\TraitInterface|\phpDocumentor\Reflection\Fqsen> $usedTraits) : void
Parameters
$usedTraits : Collection<string|int, \phpDocumentor\Descriptor\Interfaces\TraitInterface|\phpDocumentor\Reflection\Fqsen>

        
On this page

Search results