N98\Magento\Command\Database\AbstractShowCommand::initVariables PHP Method

initVariables() protected method

protected initVariables ( string | null $variable = null )
$variable string | null
    protected function initVariables($variable = null)
    {
        /** @var \N98\Util\Console\Helper\DatabaseHelper $database */
        $database = $this->getHelper('database');
        $this->_allVariables = $database->{$this->showMethod}($variable);
    }