container = $container; } protected function getTable($tableName) { $table = $this->container->getParameter('database_table_prefix') . $tableName; // escape table name is handled using " on postgresql if ('postgresql' === $this->connection->getDatabasePlatform()->getName()) { return '"' . $table . '"'; } // return escaped table return '`' . $table . '`'; } }