public function __construct(WebApp $webApp, Dispatcher $events) { $this->webApp = $webApp; $this->events = $events; }
/** * {@inheritdoc} */ public function __construct(WebApp $webApp, Dispatcher $events, ApiClient $api) { parent::__construct($webApp, $events); $this->api = $api; }