1 | <?php |
||
15 | class Files |
||
16 | { |
||
17 | /** |
||
18 | * @var ClientInterface |
||
19 | */ |
||
20 | private $client; |
||
21 | |||
22 | /** |
||
23 | * @var FileFactory |
||
24 | */ |
||
25 | private $factory; |
||
26 | |||
27 | /** |
||
28 | * @var int |
||
29 | */ |
||
30 | private $roomId; |
||
31 | |||
32 | /** |
||
33 | * Files constructor. |
||
34 | * |
||
35 | * @param ClientInterface $client |
||
36 | * @param FileFactory $factory |
||
37 | * @param int $roomId |
||
38 | */ |
||
39 | public function __construct(ClientInterface $client, FileFactory $factory, int $roomId) |
||
45 | |||
46 | /** |
||
47 | * @param null $accountId |
||
48 | * |
||
49 | * @return CollectionInterface |
||
50 | */ |
||
51 | public function show($accountId = null) |
||
67 | |||
68 | /** |
||
69 | * @param $id |
||
70 | * |
||
71 | * @return File |
||
72 | */ |
||
73 | public function detail($id) |
||
81 | } |
||
82 |