Definition at line 33 of file Parameter.php.
◆ __construct()
__construct |
( |
ReflectionParameter |
$r, |
|
|
|
$type = 'mixed' , |
|
|
|
$description = '' |
|
) |
| |
Constructor
- Parameters
-
ReflectionParameter | $r | |
string | $type | Parameter type |
string | $description | Parameter description |
Definition at line 65 of file Parameter.php.
67 $this->_reflection = $r;
setDescription($description)
◆ __call()
__call |
( |
|
$method, |
|
|
|
$args |
|
) |
| |
Proxy reflection calls
- Parameters
-
- Returns
- mixed
Definition at line 79 of file Parameter.php.
81 if (method_exists($this->_reflection,
$method)) {
82 return call_user_func_array(array($this->_reflection,
$method), $args);
85 #require_once 'Zend/Server/Reflection/Exception.php';
◆ getDescription()
Retrieve parameter description
- Returns
- string
Definition at line 120 of file Parameter.php.
◆ getPosition()
Return parameter position
- Returns
- int
Definition at line 157 of file Parameter.php.
◆ getType()
Retrieve parameter type
- Returns
- string
Definition at line 94 of file Parameter.php.
◆ setDescription()
setDescription |
( |
|
$description | ) |
|
Set parameter description
- Parameters
-
string | null | $description | |
- Returns
- void
Definition at line 131 of file Parameter.php.
134 #require_once 'Zend/Server/Reflection/Exception.php';
◆ setPosition()
Set parameter position
- Parameters
-
- Returns
- void
Definition at line 147 of file Parameter.php.
149 $this->_position = (int)
$index;
◆ setType()
Set parameter type
- Parameters
-
- Returns
- void
Definition at line 105 of file Parameter.php.
108 #require_once 'Zend/Server/Reflection/Exception.php'; 112 $this->_type =
$type;
◆ $_description
◆ $_position
◆ $_reflection
◆ $_type
The documentation for this class was generated from the following file:
- vendor/magento/zendframework1/library/Zend/Server/Reflection/Parameter.php