io = new DrupalStyle($input, $output); } /** * @return \Drupal\Console\Core\Style\DrupalStyle */ public function getIo() { return $this->io; } public function createException($message) { $this->getIo()->error($message); exit(1); } /** * @param \Drupal\Console\Core\Utils\DrupalFinder $drupalFinder */ public function setDrupalFinder($drupalFinder) { $this->drupalFinder = $drupalFinder; } }