/** * * @param string $eventName * @param mixed $callable * @param string|null $method */ public function __construct($eventName, $callable, $method = null) { $this->setEventName($eventName); $this->setCallable($callable); $this->setMethod($method); parent::__construct(); }