\phpDocumentor\DescriptorIsTyped

Summary

Methods
Constants
setType()
getType()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setType()

setType(?\phpDocumentor\Reflection\Type  $type) : void

Sets a normalized list of types that the argument represents.

Arguments should have one of the types mentioned in this array. If this array is empty than that is considered to be the type mixed (meaning: can be anything).

Any Type representing a class/interface/trait should be normalized to its complete FQCN, including preceding backslash. Types that do not represent a class/interface/trait should be written in lowercaps and should not be preceded by a backslash.

Parameters

?\phpDocumentor\Reflection\Type $type

Type of this agument represented as a reflection type.

getType()

getType() : ?\phpDocumentor\Reflection\Type

Returns a normalized Types.

Returns

?\phpDocumentor\Reflection\Type —