1 | <?php |
||
17 | class Qwertee |
||
18 | { |
||
19 | /** |
||
20 | * @var QwerteeClient |
||
21 | */ |
||
22 | private static $client = null; |
||
23 | |||
24 | /** |
||
25 | * Get Todays qwertee tees. |
||
26 | * |
||
27 | * @return Collection |
||
28 | */ |
||
29 | public static function today() |
||
33 | |||
34 | /** |
||
35 | * Get last chance tees. |
||
36 | * |
||
37 | * @return Collection |
||
38 | */ |
||
39 | public static function lastChance() |
||
43 | |||
44 | /** |
||
45 | * @return Collection |
||
46 | */ |
||
47 | public static function getFirstThreeItems() |
||
51 | |||
52 | /** |
||
53 | * @return Collection |
||
54 | */ |
||
55 | public static function getNextThreeItems() |
||
59 | |||
60 | private static function getHour() |
||
64 | |||
65 | /** |
||
66 | * @return bool |
||
67 | */ |
||
68 | public static function isReleaseTime() |
||
75 | |||
76 | /** |
||
77 | * @return bool |
||
78 | */ |
||
79 | public static function isLastChanceTime() |
||
86 | |||
87 | /** |
||
88 | * @param null $client |
||
89 | */ |
||
90 | public static function setClient($client) |
||
94 | |||
95 | /** |
||
96 | * @return QwerteeClient |
||
97 | */ |
||
98 | public static function getClient() |
||
108 | } |
||
109 |