public function ServicesClientEvent::getHandler in Services Client 7.2
Retrieve event handler.
Return value
EventHandler Initialized plugin.
File
- include/
plugin.inc, line 259 - Base plugin definitions. All other plugins should be extended from this set of plugins.
Class
- ServicesClientEvent
- Event representation.
Code
public function getHandler() {
if ($this->handler === NULL) {
$reflection = new ReflectionClass($this->plugin);
$this->handler = $reflection
->newInstanceArgs(array(
$this,
$this->config,
));
}
return $this->handler;
}