public abstract function countGroupsForType($typeId, $status);
/** * Returns the number of Groups the type is assigned to. * * @param int $typeId * @param int $status * * @return int */ public function countGroupsForType($typeId, $status) { try { return $this->innerGateway->countGroupsForType($typeId, $status); } catch (DBALException $e) { throw new RuntimeException('Database error', 0, $e); } catch (PDOException $e) { throw new RuntimeException('Database error', 0, $e); } }