Esempio n. 1
0
 public function __construct(HelperSet $helperSet, EventEmitter $event, ProcessManager $process, AdapterInterface $adapter)
 {
     $this->adapter = $adapter;
     parent::__construct($helperSet, $event, $process);
 }
Esempio n. 2
0
 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);
 }