Server/Reflection/Method.php
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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Server
\Zend_Server_Reflection_Method
Package: Zend_Server\Reflection
Method Reflection
Decorates a ReflectionFunction. Allows setting and retrieving an alternate
'service' name (i.e., the name to be used when calling via a service),
setting and retrieving the description (originally set using the docblock
contents), retrieving the callback and callback type, retrieving additional
method invocation arguments, and retrieving the
method {@link Zend_Server_Reflection_Prototype prototypes}.
- Parent(s)
- \Zend_Server_Reflection_Function_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
- Version
- $Id$
Properties
Methods
__construct(\Zend_Server_Reflection_Class $class, \ReflectionMethod $r, string $namespace = null, array $argv = array()) : void
Constructor
Parameters
Name | Type | Description |
---|---|---|
$class | \Zend_Server_Reflection_Class | |
$r | \ReflectionMethod | |
$namespace | string | |
$argv | array |
__wakeup() : void
Wakeup from serialization
Reflection needs explicit instantiation to work correctly. Re-instantiate
reflection object on wakeup.
getDeclaringClass() : \Zend_Server_Reflection_Class
Return the reflection for the class that defines this method
Returns
Type | Description |
---|---|
\Zend_Server_Reflection_Class |