Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Parameter Reflection
Decorates a ReflectionParameter to allow setting the parameter type
string $_description = ''
Parameter description
int $_position = ''
Parameter position
ReflectionParameter $_reflection = ''
string $_type = ''
Parameter type
__call(
string $method, array $args
)
:
mixed
Proxy reflection calls
__construct(
ReflectionParameter $r, string $type
=
mixed, string $description
)
:
Constructor
getDescription(
)
:
string
Retrieve parameter description
getPosition(
)
:
int
Return parameter position
getType(
)
:
string
Retrieve parameter type
setDescription(
string|null $description
)
:
void
Set parameter description
setPosition(
int $index
)
:
void
Set parameter position
setType(
string|null $type
)
:
void
Set parameter type