public function __construct(AbstractStrategy $strategy, ProgressBar $progressBar = null) { $this->strategy = $strategy; $this->progressBar = $progressBar; }