Skip to content

Commit

Permalink
Support group ID
Browse files Browse the repository at this point in the history
  • Loading branch information
joesaunderson committed Jan 21, 2022
1 parent a5c7ae7 commit 509eec8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/SoccerClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,17 @@ public function setMarkets(array $marketIds)
return $this;
}

/**
* @param int $groupId
* @return SoccerClient
*/
public function setGroup(int $groupId): self
{
// Add group ID
$this->query['group_id'] = $groupId;
return $this;
}

/**
* @param int $page
* @return $this
Expand Down

0 comments on commit 509eec8

Please sign in to comment.