PHP Класс phpDocumentor\Descriptor\TraitDescriptor

Наследование: extends phpDocumentor\Descriptor\DescriptorAbstract, implements phpDocumentor\Descriptor\Interfaces\TraitInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$methods phpDocumentor\Descriptor\Collection
$properties phpDocumentor\Descriptor\Collection
$usedTraits phpDocumentor\Descriptor\Collection

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

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

getInheritedMethods() публичный Метод

{@inheritDoc}
public getInheritedMethods ( )

getInheritedProperties() публичный Метод

{@inheritDoc}

getMagicMethods() публичный Метод

public getMagicMethods ( ) : phpDocumentor\Descriptor\Collection
Результат phpDocumentor\Descriptor\Collection

getMagicProperties() публичный Метод

public getMagicProperties ( ) : phpDocumentor\Descriptor\Collection
Результат phpDocumentor\Descriptor\Collection

getMethods() публичный Метод

{@inheritDoc}
public getMethods ( )

getProperties() публичный Метод

{@inheritDoc}
public getProperties ( )

getUsedTraits() публичный Метод

Returned values may either be a string (when the Trait is not in this project) or a TraitDescriptor.
public getUsedTraits ( ) : phpDocumentor\Descriptor\Collection
Результат phpDocumentor\Descriptor\Collection

setMethods() публичный Метод

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

setPackage() публичный Метод

public setPackage ( string $package )
$package string

setProperties() публичный Метод

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

setUsedTraits() публичный Метод

Sets a collection of all traits used by this class.
public setUsedTraits ( phpDocumentor\Descriptor\Collection $usedTraits ) : void
$usedTraits phpDocumentor\Descriptor\Collection
Результат void

Описание свойств

$methods защищенное свойство

protected Collection,phpDocumentor\Descriptor $methods
Результат phpDocumentor\Descriptor\Collection

$properties защищенное свойство

protected Collection,phpDocumentor\Descriptor $properties
Результат phpDocumentor\Descriptor\Collection

$usedTraits защищенное свойство

protected Collection,phpDocumentor\Descriptor $usedTraits
Результат phpDocumentor\Descriptor\Collection