Zend\Server\Reflection\ReflectionParameter
Parameter Reflection
Decorates a ReflectionParameter to allow setting the parameter type
Synopsis
class ReflectionParameter
{
- // members
- protected ReflectionParameter $reflection;
- protected int $position;
- protected string $type;
- protected string $description;
- // methods
- public void __construct()
- public mixed __call()
- public string getType()
- public void setType()
- public string getDescription()
- public void setDescription()
- public void setPosition()
- public int getPosition()
Members
protected
- $description
—
string
Parameter description - $position
—
int
Parameter position - $reflection — \ReflectionParameter
- $type
—
string
Parameter type
Methods
public
- __construct() — Constructor
- __call() — Proxy reflection calls
- getDescription() — Retrieve parameter description
- getPosition() — Return parameter position
- getType() — Retrieve parameter type
- setDescription() — Set parameter description
- setPosition() — Set parameter position
- setType() — Set parameter type