1 | <?php |
||
19 | abstract class AbstractBetfair |
||
20 | { |
||
21 | const API_METHOD_NAME = "default"; |
||
22 | |||
23 | protected $betfairClient; |
||
24 | |||
25 | protected $endPointUrl; |
||
26 | |||
27 | protected $adapter; |
||
28 | |||
29 | protected $marketFilterFactory; |
||
30 | |||
31 | protected $paramFactory; |
||
32 | |||
33 | /** |
||
34 | * @param BetfairClientInterface $betfairClient |
||
35 | * @param AdapterInterface $adapter |
||
36 | * @param ParamFactoryInterface $paramFactory |
||
37 | * @param MarketFilterFactoryInterface $marketFilterFactory |
||
38 | */ |
||
39 | public function __construct( |
||
50 | |||
51 | public function executeCustomQuery(ParamInterface $param, $method = null, $type = "betting") |
||
57 | |||
58 | /** |
||
59 | * @param string $operation |
||
60 | * @param ParamInterface $param |
||
61 | * @param string $type |
||
62 | * @internal param $params |
||
63 | * @return mixed |
||
64 | */ |
||
65 | public function apiNgRequest($operation, ParamInterface $param, $type = "betting") |
||
75 | |||
76 | public function createMarketFilter() |
||
80 | |||
81 | public function createParam(MarketFilterInterface $marketFilter = null) |
||
91 | } |
||
92 |