public function setTable($name) { try { return $this->innerGateway->setTable($name); } catch (DBALException $e) { throw new \RuntimeException('Database error', 0, $e); } catch (PDOException $e) { throw new \RuntimeException('Database error', 0, $e); } }
/** * Sets storage gateway to the migration table. * * @see \eZ\Bundle\EzPublishMigrationBundle\Command\LegacyStorage\RegenerateUrlAliasesCommand::MIGRATION_TABLE */ protected function setMigrationTable() { $this->urlAliasGateway->setTable(static::MIGRATION_TABLE); }