1 | <?php |
||
32 | class Betfair |
||
33 | { |
||
34 | /** |
||
35 | * Version. |
||
36 | * @see http://semver.org/ |
||
37 | */ |
||
38 | const VERSION = '1.0.0-dev'; |
||
39 | |||
40 | /** |
||
41 | * The adapter to use. |
||
42 | * |
||
43 | * @var AdapterInterface |
||
44 | */ |
||
45 | protected $adapter; |
||
46 | |||
47 | /** @var BetfairClientInterface */ |
||
48 | protected $betfairClient; |
||
49 | |||
50 | /** @var \Betfair\BetfairGeneric */ |
||
51 | protected $genericBetfair; |
||
52 | |||
53 | /** @var \Betfair\Factory\ParamFactory */ |
||
54 | protected $paramFactory; |
||
55 | |||
56 | /** @var \Betfair\Factory\MarketFilterFactory */ |
||
57 | protected $marketFilterFactory; |
||
58 | |||
59 | /** @var BetfairGeneric */ |
||
60 | protected $betfairGeneric; |
||
61 | |||
62 | public function __construct( |
||
71 | |||
72 | public function api(ParamInterface $param, $method) |
||
77 | |||
78 | /** |
||
79 | * @return BetfairGeneric |
||
80 | */ |
||
81 | public function getBetfairGeneric() |
||
86 | |||
87 | /** |
||
88 | * @return EventType |
||
89 | */ |
||
90 | public function getBetfairEventType() |
||
94 | |||
95 | /** |
||
96 | * @return Event |
||
97 | */ |
||
98 | public function getBetfairEvent() |
||
102 | |||
103 | /** |
||
104 | * @return MarketCatalogue |
||
105 | */ |
||
106 | public function getBetfairMarketCatalogue() |
||
110 | |||
111 | /** |
||
112 | * @return MarketBook |
||
113 | */ |
||
114 | public function getBetfairMarketBook() |
||
118 | |||
119 | /** |
||
120 | * @return Country |
||
121 | */ |
||
122 | public function getBetfairCountry() |
||
126 | |||
127 | /** |
||
128 | * @return Competition |
||
129 | */ |
||
130 | public function getBetfairCompetition() |
||
134 | |||
135 | /** |
||
136 | * @return TimeRange |
||
137 | */ |
||
138 | public function getBetfairTimeRange() |
||
142 | |||
143 | /** |
||
144 | * @return MarketType |
||
145 | */ |
||
146 | public function getBetfairMarketType() |
||
150 | |||
151 | /** |
||
152 | * @return ClearedOrder |
||
153 | */ |
||
154 | public function getBetfairClearedOrder() |
||
158 | |||
159 | /** |
||
160 | * @return CurrentOrder |
||
161 | */ |
||
162 | public function getBetfairCurrentOrder() |
||
166 | |||
167 | public function getVenues() |
||
171 | |||
172 | public function getBetfairAccountFunds() |
||
176 | |||
177 | public function getBetfairAccountDetails() |
||
181 | } |
||
182 |