/** * @param string $filename * @param int $verbosity */ public function __construct($filename, $verbosity = OutputInterface::VERBOSITY_NORMAL) { $this->filename = $filename; $this->verbosity = $verbosity; parent::__construct($this->createStream($filename, $verbosity)); }