public insertGroup ( eZ\Publish\SPI\Persistence\Content\Type\Group $group ) : mixed | ||
$group | eZ\Publish\SPI\Persistence\Content\Type\Group | |
return | mixed | Group ID |
public function insertGroup(Group $group)
{
try {
return $this->innerGateway->insertGroup($group);
} catch (DBALException $e) {
throw new RuntimeException('Database error', 0, $e);
} catch (PDOException $e) {
throw new RuntimeException('Database error', 0, $e);
}
}