public function dispatch($eventName, $payload = array()) { if ($this->dispatcher) { return $this->dispatcher->fire($eventName, $payload); } }