API Documentation

Zend/Server/Reflection/Class.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_Class

Package: Zend\Server\Reflection

Class/Object reflection

Proxies calls to a ReflectionClass object, and decorates getMethods() by creating its own list of {@link Zend_Server_Reflection_Method}s.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Version
$Id: Class.php 24594 2012-01-05 21:27:01Z matthew $  

Properties

Propertyprotectedarray  $_config= 'array()'

Optional configuration parameters; accessible via {@link __get} and {@link __set()}

Default valuearray()Details
Type
array
Propertyprotectedarray  $_methods= 'array()'

Array of {@link Zend_Server_Reflection_Method}s

Default valuearray()Details
Type
array
Propertyprotectedstring  $_namespace= 'null'

Namespace

Default valuenullDetails
Type
string
Propertyprotected\ReflectionClass  $_reflection= ''

ReflectionClass object

Details
Type
\ReflectionClass

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( \ReflectionClass $reflection, string $namespace = null, mixed $argv = false ) : void

Constructor

Create array of dispatchable methods, each a {@link Zend_Server_Reflection_Method}. Sets reflection object property.

Parameters
Name Type Description
$reflection \ReflectionClass
$namespace string
$argv mixed
methodpublic__get( string $key ) : mixed

Retrieve configuration parameters

Values are retrieved by key from {@link $_config}. Returns null if no value found.

Parameters
Name Type Description
$key string
Returns
Type Description
mixed
methodpublic__set( string $key, mixed $value ) : void

Set configuration parameters

Values are stored by $key in {@link $_config}.

Parameters
Name Type Description
$key string
$value mixed
methodpublic__wakeup( ) : void

Wakeup from serialization

Reflection needs explicit instantiation to work correctly. Re-instantiate reflection object on wakeup.

methodpublicgetMethods( ) : array

Return array of dispatchable {@link Zend_Server_Reflection_Method}s.

Returns
Type Description
array
Details
Access
public  
methodpublicgetNamespace( ) : string

Get namespace for this class

Returns
Type Description
string
methodpublicsetNamespace( string $namespace ) : void

Set namespace for this class

Parameters
Name Type Description
$namespace string
Documentation was generated by DocBlox 0.15.1.