public function __construct(array $config = null) { Terminal::create($config); $this->console = Terminal::getInstance(); }