Reflection class for the {@}param tag in a Docblock.
Cloneable
Final
Instantiable
Methods |
public __construct ( ? string $variableName , ? phpDocumentor\Reflection\Type $type = NULL , bool $isVariadic = false , ? phpDocumentor\Reflection\DocBlock\Description $description = NULL , bool $isReference = false ) |
public
__toString
() :
string
Returns a string representation for this tag. |
public static create ( string $body , ? phpDocumentor\Reflection\TypeResolver $typeResolver = NULL , ? phpDocumentor\Reflection\DocBlock\DescriptionFactory $descriptionFactory = NULL , ? phpDocumentor\Reflection\Types\Context $context = NULL ) : self |
public
getVariableName
() : ?
string
Returns the variable's name. |
public
isReference
() :
bool
Returns whether this tag is passed by reference. |
public
isVariadic
() :
bool
Returns whether this tag is variadic. |
Properties |
Methods |
Properties |
private
$isReference
|
private
$isVariadic
|
private
$variableName
|
Methods |
private static strStartsWithVariable ( string $str ) : bool |
Methods |
public static create ( string $body , ? phpDocumentor\Reflection\TypeResolver $typeResolver = NULL , ? phpDocumentor\Reflection\DocBlock\DescriptionFactory $descriptionFactory = NULL , ? phpDocumentor\Reflection\Types\Context $context = NULL ) : self |
private static strStartsWithVariable ( string $str ) : bool |