API Documentation

Server/Reflection/Parameter.php

Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Server
Classes
Zend_Server_Reflection_Parameter

Description

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.

Zend_Server_Reflection_Parameter

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Server
subpackage
Reflection
version
$Id: Parameter.php 20096 2010-01-06 02:05:09Z bkarwin $
Properties
$_reflection
$_position
$_type
$_description
Methods
__construct
__call
getType
setType
getDescription
setDescription
setPosition
getPosition

Description

Parameter Reflection

Decorates a ReflectionParameter to allow setting the parameter type

Properties

$_description

string $_description = ''

Parameter description

Details

$_description
string
visibility
protected
default
final
false
static
false

$_position

int $_position = ''

Parameter position

Details

$_position
int
visibility
protected
default
final
false
static
false

$_reflection

ReflectionParameter $_reflection = ''

Details

$_reflection
ReflectionParameter
visibility
protected
default
final
false
static
false

$_type

string $_type = ''

Parameter type

Details

$_type
string
visibility
protected
default
final
false
static
false

Methods

__call

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

Proxy reflection calls

Arguments
$method
string
$args
array
Output
mixed
Details
visibility
public
final
false
static
false

__construct

__construct( ReflectionParameter $r, string $type = mixed, string $description ) :

Constructor

Arguments
$r
ReflectionParameter
$type
string
Parameter type
$description
string
Parameter description
Details
visibility
public
final
false
static
false

getDescription

getDescription( ) : string

Retrieve parameter description

Output
string
Details
visibility
public
final
false
static
false

getPosition

getPosition( ) : int

Return parameter position

Output
int
Details
visibility
public
final
false
static
false

getType

getType( ) : string

Retrieve parameter type

Output
string
Details
visibility
public
final
false
static
false

setDescription

setDescription( string|null $description ) : void

Set parameter description

Arguments
$description
stringnull
Details
visibility
public
final
false
static
false

setPosition

setPosition( int $index ) : void

Set parameter position

Arguments
$index
int
Details
visibility
public
final
false
static
false

setType

setType( string|null $type ) : void

Set parameter type

Arguments
$type
stringnull
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.