1 | <?php |
||
21 | final class Mastodon |
||
22 | { |
||
23 | use \Teto\Object\PrivateGetter; |
||
24 | use \Teto\Object\ReadOnly; |
||
25 | |||
26 | /** @var Client */ |
||
27 | private $client; |
||
28 | /** @var SessionStorage */ |
||
29 | private $session; |
||
30 | |||
31 | 1 | public function __construct(Client $client, SessionStorage $session) |
|
32 | { |
||
33 | 1 | $this->client = $client; |
|
34 | 1 | $this->session = $session; |
|
35 | 1 | } |
|
36 | |||
37 | /** |
||
38 | * @return Entity\Entity |
||
39 | */ |
||
40 | public function __call($name, array $args) |
||
47 | } |
||
48 |