| 1 | <?php |
||
| 9 | class TeamsQuery implements QueryInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var CriterionInterface[] |
||
| 13 | */ |
||
| 14 | private $criteria = []; |
||
| 15 | |||
| 16 | 5 | private function __construct() |
|
| 19 | |||
| 20 | 5 | public static function create(): self |
|
| 24 | |||
| 25 | 3 | public function forPlayerIds(array $playerIds) |
|
| 30 | |||
| 31 | 2 | public function forSeason(int $season) |
|
| 36 | |||
| 37 | 4 | public function toQueryString(): ?string |
|
| 50 | |||
| 51 | 4 | private function addCriterion(CriterionInterface $criterionToAdd): void |
|
| 62 | } |
||
| 63 |