Paradox/toolbox/DatabaseManager.php
public function listDatabases()
    {
        try {
            $connection = $this->getConnection();

            $result = Database::listDatabases($connection);

            if (empty($result['result'])) {
                return array();
            } else {
                return $result['result'];
            }

        } catch (\Exception $e) {
            $normalised = $this->_toolbox->normaliseDriverExceptions($e);
            throw new DatabaseManagerException($normalised['message'], $normalised['code']);
        }
    }
public function listDatabases()
    {
        try {
            $connection = $this->getConnection();

            $result = Database::listDatabases($connection);

            if (empty($result['result'])) {
                return array();
            } else {
                return $result['result'];
            }

        } catch (\Exception $e) {
            $normalised = $this->_toolbox->normaliseDriverExceptions($e);
            throw new DatabaseManagerException($normalised['message'], $normalised['code']);
        }
    }
Lists all databases availiable.
@throws DatabaseManagerException
@return array