Server/Reflection/Parameter.php

Show: PublicProtectedPrivateinherited
Table of Contents
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 [email protected] so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Server  

\Zend_Server_Reflection_Parameter

Package: Zend_Server\Reflection
Parameter Reflection
Decorates a ReflectionParameter to allow setting the parameter type
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Version
$Id$  

Properties

>VPropertyprotectedstring $_description
Parameter description
Details
Type
string
>VPropertyprotectedint $_position
Parameter position
Details
Type
int
>VPropertyprotected\ReflectionParameter $_reflection
>VPropertyprotectedstring $_type
Parameter type
Details
Type
string

Methods

methodpublic__call(string $method, array $args) : mixed

Proxy reflection calls

Parameters
NameTypeDescription
$methodstring
$argsarray
Returns
TypeDescription
mixed
methodpublic__construct(\ReflectionParameter $r, string $type = 'mixed', string $description = '') : void

Constructor

Parameters
NameTypeDescription
$r\ReflectionParameter
$typestring

Parameter type

$descriptionstring

Parameter description

methodpublicgetDescription() : string

Retrieve parameter description

Returns
TypeDescription
string
methodpublicgetPosition() : int

Return parameter position

Returns
TypeDescription
int
methodpublicgetType() : string

Retrieve parameter type

Returns
TypeDescription
string
methodpublicsetDescription(string | null $description) : void

Set parameter description

Parameters
NameTypeDescription
$descriptionstring | null
methodpublicsetPosition(int $index) : void

Set parameter position

Parameters
NameTypeDescription
$indexint
methodpublicsetType(string | null $type) : void

Set parameter type

Parameters
NameTypeDescription
$typestring | null
Documentation was generated by phpDocumentor 2.2.0 .