@@ 22-40 (lines=19) @@ | ||
19 | * Class Competition |
|
20 | * @package Betfair\BettingApi\Competition |
|
21 | */ |
|
22 | class Competition extends BetfairMarketFilterObject |
|
23 | { |
|
24 | const API_METHOD_NAME = "listCompetitions"; |
|
25 | ||
26 | /** |
|
27 | * @param BetfairClientInterface $betfairClient |
|
28 | * @param AdapterInterface $adapter |
|
29 | * @param \Betfair\Factory\ParamFactory|\Betfair\Factory\ParamFactoryInterface $paramFactory |
|
30 | * @param \Betfair\Factory\MarketFilterFactory|\Betfair\Factory\MarketFilterFactoryInterface $marketFilterFactory |
|
31 | */ |
|
32 | public function __construct( |
|
33 | BetfairClientInterface $betfairClient, |
|
34 | AdapterInterface $adapter, |
|
35 | ParamFactoryInterface $paramFactory, |
|
36 | MarketFilterFactoryInterface $marketFilterFactory |
|
37 | ) { |
|
38 | parent::__construct($betfairClient, $adapter, $paramFactory, $marketFilterFactory); |
|
39 | } |
|
40 | } |
|
41 |
@@ 18-36 (lines=19) @@ | ||
15 | use Betfair\Factory\MarketFilterFactoryInterface; |
|
16 | use Betfair\Factory\ParamFactoryInterface; |
|
17 | ||
18 | class Country extends BetfairMarketFilterObject |
|
19 | { |
|
20 | const API_METHOD_NAME = "listCountries"; |
|
21 | ||
22 | /** |
|
23 | * @param BetfairClientInterface $betfairClient |
|
24 | * @param AdapterInterface $adapter |
|
25 | * @param ParamFactoryInterface $paramFactory |
|
26 | * @param MarketFilterFactoryInterface $marketFilterFactory |
|
27 | */ |
|
28 | public function __construct( |
|
29 | BetfairClientInterface $betfairClient, |
|
30 | AdapterInterface $adapter, |
|
31 | ParamFactoryInterface $paramFactory, |
|
32 | MarketFilterFactoryInterface $marketFilterFactory |
|
33 | ) { |
|
34 | parent::__construct($betfairClient, $adapter, $paramFactory, $marketFilterFactory); |
|
35 | } |
|
36 | } |
|
37 |
@@ 11-29 (lines=19) @@ | ||
8 | use Betfair\Factory\MarketFilterFactoryInterface; |
|
9 | use Betfair\Factory\ParamFactoryInterface; |
|
10 | ||
11 | class MarketType extends BetfairMarketFilterObject |
|
12 | { |
|
13 | const API_METHOD_NAME = "listMarketTypes"; |
|
14 | ||
15 | /** |
|
16 | * @param BetfairClientInterface $betfairClient |
|
17 | * @param AdapterInterface $adapter |
|
18 | * @param ParamFactoryInterface $paramFactory |
|
19 | * @param MarketFilterFactoryInterface $marketFilterFactory |
|
20 | */ |
|
21 | public function __construct( |
|
22 | BetfairClientInterface $betfairClient, |
|
23 | AdapterInterface $adapter, |
|
24 | ParamFactoryInterface $paramFactory, |
|
25 | MarketFilterFactoryInterface $marketFilterFactory |
|
26 | ) { |
|
27 | parent::__construct($betfairClient, $adapter, $paramFactory, $marketFilterFactory); |
|
28 | } |
|
29 | } |
|
30 |
@@ 18-36 (lines=19) @@ | ||
15 | use Betfair\Factory\MarketFilterFactoryInterface; |
|
16 | use Betfair\Factory\ParamFactoryInterface; |
|
17 | ||
18 | class TimeRange extends BetfairMarketFilterObject |
|
19 | { |
|
20 | const API_METHOD_NAME = "listTimeRanges"; |
|
21 | ||
22 | /** |
|
23 | * @param BetfairClientInterface $betfairClient |
|
24 | * @param AdapterInterface $adapter |
|
25 | * @param ParamFactoryInterface $paramFactory |
|
26 | * @param MarketFilterFactoryInterface $marketFilterFactory |
|
27 | */ |
|
28 | public function __construct( |
|
29 | BetfairClientInterface $betfairClient, |
|
30 | AdapterInterface $adapter, |
|
31 | ParamFactoryInterface $paramFactory, |
|
32 | MarketFilterFactoryInterface $marketFilterFactory |
|
33 | ) { |
|
34 | parent::__construct($betfairClient, $adapter, $paramFactory, $marketFilterFactory); |
|
35 | } |
|
36 | } |
|
37 |