Server/Reflection/Class.php
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
Proxies calls to a ReflectionClass object, and decorates getMethods() by creating its own list of Zend_Server_Reflection_Methods.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Version
- $Id: Class.php 24593 2012-01-05 20:35:02Z matthew $
Properties

array $_config = array()array()Details- Type
- array

array $_methods = array()array()Details- Type
- array
Methods

__call(string $method, array $args) : mixedProxy reflection calls
| Name | Type | Description |
|---|---|---|
| $method | string | |
| $args | array |
| Type | Description |
|---|---|
| mixed |

__construct(\ReflectionClass $reflection, string $namespace = null, mixed $argv = false) : voidConstructor
Create array of dispatchable methods, each a Zend_Server_Reflection_Method. Sets reflection object property.
| Name | Type | Description |
|---|---|---|
| $reflection | \ReflectionClass | |
| $namespace | string | |
| $argv | mixed |

__get(string $key) : mixedRetrieve configuration parameters
Values are retrieved by key from $_config. Returns null if no value found.
| Name | Type | Description |
|---|---|---|
| $key | string |
| Type | Description |
|---|---|
| mixed |

__set(string $key, mixed $value) : voidSet configuration parameters
Values are stored by $key in $_config.
| Name | Type | Description |
|---|---|---|
| $key | string | |
| $value | mixed |

__wakeup() : voidWakeup from serialization
Reflection needs explicit instantiation to work correctly. Re-instantiate reflection object on wakeup.

getMethods() : arrayReturn array of dispatchable {@link Zend_Server_Reflection_Method}s.
| Type | Description |
|---|---|
| array |
- Access
- public