1 | <?php namespace Tuiter; |
||
9 | final class Tuiter |
||
10 | { |
||
11 | /** |
||
12 | * @var TweetCollection |
||
13 | */ |
||
14 | private $tweetCollection; |
||
15 | |||
16 | /** |
||
17 | * @param Reader $reader |
||
18 | */ |
||
19 | public function __construct(Reader $reader) |
||
36 | |||
37 | /** |
||
38 | * @param mixed $path |
||
39 | * |
||
40 | * @return TweetCollection |
||
41 | */ |
||
42 | public static function fromArchive($path) |
||
50 | |||
51 | /** |
||
52 | * @return TweetCollection |
||
53 | */ |
||
54 | public function tweets() |
||
58 | |||
59 | /** |
||
60 | * @param $array |
||
61 | * @param string $key |
||
62 | * @param mixed $default |
||
63 | * |
||
64 | * @return mixed |
||
65 | */ |
||
66 | private function getFrom($array, $key, $default = null) |
||
72 | } |
||
73 |