listTables(); $output = $this->isCLI() ? [] : [ 'tables' => $tables, 'total' => count($tables) ]; $this->setResponseData($output); } }