API Documentation

Zend/Server/Reflection/Parameter.php

Show: inherited
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 license@zend.com so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Version
$Id: Parameter.php 24594 2012-01-05 21:27:01Z matthew $  

Properties

Propertyprotectedstring  $_description= ''

Parameter description

Details
Type
string
Propertyprotectedint  $_position= ''

Parameter position

Details
Type
int
Propertyprotected\ReflectionParameter  $_reflection= ''

Details
Type
\ReflectionParameter
Propertyprotectedstring  $_type= ''

Parameter type

Details
Type
string

Methods

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

Proxy reflection calls

Parameters
Name Type Description
$method string
$args array
Returns
Type Description
mixed
methodpublic__construct( \ReflectionParameter $r, string $type = 'mixed', string $description = '' ) : void

Constructor

Parameters
Name Type Description
$r \ReflectionParameter
$type string

Parameter type

$description string

Parameter description

methodpublicgetDescription( ) : string

Retrieve parameter description

Returns
Type Description
string
methodpublicgetPosition( ) : int

Return parameter position

Returns
Type Description
int
methodpublicgetType( ) : string

Retrieve parameter type

Returns
Type Description
string
methodpublicsetDescription( string|null $description ) : void

Set parameter description

Parameters
Name Type Description
$description string|null
methodpublicsetPosition( int $index ) : void

Set parameter position

Parameters
Name Type Description
$index int
methodpublicsetType( string|null $type ) : void

Set parameter type

Parameters
Name Type Description
$type string|null
Documentation was generated by DocBlox 0.15.1.