listDatabases = new ListDatabasesCommand(['nameOnly' => false] + $options); } /** * Execute the operation. * * @see Executable::execute() * @param Server $server * @return DatabaseInfoIterator * @throws UnexpectedValueException if the command response was malformed * @throws DriverRuntimeException for other driver errors (e.g. connection errors) */ public function execute(Server $server) { return new DatabaseInfoLegacyIterator($this->listDatabases->execute($server)); } }