Ejemplo n.º 1
0
 /**
  * @param Logger $logger
  * @param EventState $state
  * @param Browser $browser
  * @param string $filename
  */
 public function __construct(Logger $logger, EventState $state, Browser $browser, $filename = null)
 {
     parent::__construct($logger, $state);
     $this->browser = $browser;
     $this->filename = $filename ?: static::FILE_NAME;
 }
Ejemplo n.º 2
0
 /**
  * @param Logger $logger
  * @param EventState $state
  * @param Browser $browser
  */
 public function __construct(Logger $logger, EventState $state, Browser $browser)
 {
     parent::__construct($logger, $state);
     $this->browser = $browser;
 }