public Election::setSeatsToElect

November 22, 2025 ยท View on GitHub

Read it at the source

Description

public Election->setSeatsToElect ( int $seats ): static

Set count of seats to elects for STV methods.

Parameter

seats: int

The count of seats to elect for proportional methods.

Throws:

  • CondorcetPHP\Condorcet\Throwable\NoSeatsException

Related

  • Election::seatsToElect

Contents

  1. 1Description
  2. 2Parameter
  3. 2.1seats: int
  4. 3Throws:
  5. 4Related