1531. Class

1531.1. Zend\Server\Reflection\ReflectionClass

Class/Object reflection

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

1531.1.1. Methods

1531.1.1.1. __construct

__construct()

Constructor

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

Parameters:
  • PhpReflectionClass
  • string
  • mixed

1531.1.1.2. __call

__call()

Proxy reflection calls

Parameters:
  • string
  • array
Throws ExceptionBadMethodCallException:
 
Return type:

mixed

1531.1.1.3. __get

__get()

Retrieve configuration parameters

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

Parameters:string
Return type:mixed

1531.1.1.4. __set

__set()

Set configuration parameters

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

Parameters:
  • string
  • mixed
Return type:

void

1531.1.1.5. getMethods

getMethods()

Return array of dispatchable {@link ZendServerReflectionMethod}s.

Return type:array

1531.1.1.6. getNamespace

getNamespace()

Get namespace for this class

Return type:string

1531.1.1.7. setNamespace

setNamespace()

Set namespace for this class

Parameters:string
Throws ExceptionInvalidArgumentException:
 
Return type:void

1531.1.1.8. __wakeup

__wakeup()

Wakeup from serialization

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

Return type:void