public countInstancesOfType ( integer $typeId ) : integer | ||
$typeId | integer | |
return | integer |
public function countInstancesOfType($typeId)
{
try {
return $this->innerGateway->countInstancesOfType($typeId);
} catch (DBALException $e) {
throw new RuntimeException('Database error', 0, $e);
} catch (PDOException $e) {
throw new RuntimeException('Database error', 0, $e);
}
}