public function __construct(HelperSet $helperSet, EventEmitter $event, ProcessManager $process, AdapterInterface $adapter) { $this->adapter = $adapter; parent::__construct($helperSet, $event, $process); }
public function __construct(HelperSet $helperSet, EventEmitter $event = null, ProcessManager $process = null) { $event = $event ?: new EventEmitter(); $process = $process ?: new ProcessManager(new EventDispatcher()); parent::__construct($helperSet, $event, $process); }