public abstract function assignSectionToContent($sectionId, $contentId);
/** * Inserts the assignment of $contentId to $sectionId. * * @param int $sectionId * @param int $contentId */ public function assignSectionToContent($sectionId, $contentId) { try { return $this->innerGateway->assignSectionToContent($sectionId, $contentId); } catch (DBALException $e) { throw new RuntimeException('Database error', 0, $e); } catch (PDOException $e) { throw new RuntimeException('Database error', 0, $e); } }