IsTyped
in
Table of Contents
Methods
- getType() : Type|null
- Returns a normalized Types.
- setType() : void
- Sets a normalized list of types that the argument represents.
Methods
getType()
Returns a normalized Types.
public
getType() : Type|null
Tags
Return values
Type|nullsetType()
Sets a normalized list of types that the argument represents.
public
setType(Type|null $type) : void
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
- $type : Type|null
-
Type of this agument represented as a reflection type.