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.
Class/Object reflection
Proxies calls to a ReflectionClass object, and decorates getMethods() by creating its own list of {@link Zend_Server_Reflection_Method}s.

array
$_config= 'array()'
Optional configuration parameters; accessible via {@link __get} and {@link __set()}
array()
Details
array
$_methods= 'array()'
Array of {@link Zend_Server_Reflection_Method}s
array()
Details
__call(
string $method, array $args
)
:
mixed
Proxy reflection calls
Name | Type | Description |
---|---|---|
$method | string | |
$args | array |
Type | Description |
---|---|
mixed |

__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.
Name | Type | Description |
---|---|---|
$reflection | \ReflectionClass | |
$namespace | string | |
$argv | mixed |

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

__set(
string $key, mixed $value
)
:
void
Set configuration parameters
Values are stored by $key in {@link $_config}.
Name | Type | Description |
---|---|---|
$key | string | |
$value | mixed |

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

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