| 1 | <?php |
||
| 9 | class PlayersQuery implements QueryInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var CriterionInterface[] |
||
| 13 | */ |
||
| 14 | private $criteria = []; |
||
| 15 | |||
| 16 | 6 | private function __construct() |
|
| 19 | |||
| 20 | 6 | public static function create(): self |
|
| 24 | |||
| 25 | 3 | public function forPlayerIds(array $playerIds) |
|
| 30 | |||
| 31 | 1 | public function forSteamIds(array $steamIds) |
|
| 36 | |||
| 37 | 1 | public function forPlayerNames(array $playerNames) |
|
| 42 | |||
| 43 | 5 | public function toQueryString(): ?string |
|
| 56 | |||
| 57 | 5 | private function addCriterion(CriterionInterface $criterionToAdd): void |
|
| 68 | } |
||
| 69 |