PHP Class phpDocumentor\Descriptor\TraitDescriptor

Inheritance: extends phpDocumentor\Descriptor\DescriptorAbstract, implements phpDocumentor\Descriptor\Interfaces\TraitInterface
Afficher le fichier Open project: phpDocumentor/phpDocumentor2 Class Usage Examples

Protected Properties

Свойство Type Description
$methods phpDocumentor\Descriptor\Collection
$properties phpDocumentor\Descriptor\Collection
$usedTraits phpDocumentor\Descriptor\Collection

Méthodes publiques

Méthode Description
__construct ( ) Initializes the all properties representing a collection with a new Collection object.
getInheritedMethods ( ) {@inheritDoc}
getInheritedProperties ( ) {@inheritDoc}
getMagicMethods ( ) : phpDocumentor\Descriptor\Collection
getMagicProperties ( ) : phpDocumentor\Descriptor\Collection
getMethods ( ) {@inheritDoc}
getProperties ( ) {@inheritDoc}
getUsedTraits ( ) : phpDocumentor\Descriptor\Collection Returns the traits used by this class.
setMethods ( phpDocumentor\Descriptor\Collection $methods ) {@inheritDoc}
setPackage ( string $package )
setProperties ( phpDocumentor\Descriptor\Collection $properties ) {@inheritDoc}
setUsedTraits ( phpDocumentor\Descriptor\Collection $usedTraits ) : void Sets a collection of all traits used by this class.

Method Details

__construct() public méthode

Initializes the all properties representing a collection with a new Collection object.
public __construct ( )

getInheritedMethods() public méthode

{@inheritDoc}
public getInheritedMethods ( )

getInheritedProperties() public méthode

{@inheritDoc}

getMagicMethods() public méthode

public getMagicMethods ( ) : phpDocumentor\Descriptor\Collection
Résultat phpDocumentor\Descriptor\Collection

getMagicProperties() public méthode

public getMagicProperties ( ) : phpDocumentor\Descriptor\Collection
Résultat phpDocumentor\Descriptor\Collection

getMethods() public méthode

{@inheritDoc}
public getMethods ( )

getProperties() public méthode

{@inheritDoc}
public getProperties ( )

getUsedTraits() public méthode

Returned values may either be a string (when the Trait is not in this project) or a TraitDescriptor.
public getUsedTraits ( ) : phpDocumentor\Descriptor\Collection
Résultat phpDocumentor\Descriptor\Collection

setMethods() public méthode

{@inheritDoc}
public setMethods ( phpDocumentor\Descriptor\Collection $methods )
$methods phpDocumentor\Descriptor\Collection

setPackage() public méthode

public setPackage ( string $package )
$package string

setProperties() public méthode

{@inheritDoc}
public setProperties ( phpDocumentor\Descriptor\Collection $properties )
$properties phpDocumentor\Descriptor\Collection

setUsedTraits() public méthode

Sets a collection of all traits used by this class.
public setUsedTraits ( phpDocumentor\Descriptor\Collection $usedTraits ) : void
$usedTraits phpDocumentor\Descriptor\Collection
Résultat void

Property Details

$methods protected_oe property

protected Collection,phpDocumentor\Descriptor $methods
Résultat phpDocumentor\Descriptor\Collection

$properties protected_oe property

protected Collection,phpDocumentor\Descriptor $properties
Résultat phpDocumentor\Descriptor\Collection

$usedTraits protected_oe property

protected Collection,phpDocumentor\Descriptor $usedTraits
Résultat phpDocumentor\Descriptor\Collection