public function __construct($argv) { parent::__construct($argv); $this->checkDependencies(); $this->enforceCli(); if (!$this->isSuperUser()) { $this->writeln('You must be root to use this tool!'); $this->endWithError(); } $this->conf = $this->conductorConfiguration(); $this->mysql = MysqlPdo::connect('information_schema', $this->conf->mysql->username, $this->conf->mysql->password, $this->conf->mysql->host); }