public function __construct(array $configs, EventDispatcherInterface $dispatcher = null, CallbackFactoryInterface $callbackFactory = null) { parent::__construct($configs); $this->dispatcher = $dispatcher; $this->callbackFactory = $callbackFactory; }