1 | <?php declare(strict_types=1); |
||
11 | final class BlobCommand |
||
12 | { |
||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | private $repository; |
||
17 | |||
18 | /** |
||
19 | * @var ReadableStreamInterface |
||
20 | */ |
||
21 | private $contents; |
||
22 | |||
23 | /** |
||
24 | * @param string $repository |
||
25 | * @param ReadableStreamInterface $contents |
||
26 | */ |
||
27 | public function __construct(string $repository, ReadableStreamInterface $contents) |
||
32 | |||
33 | /** |
||
34 | * @return string |
||
35 | */ |
||
36 | public function getRepository(): string |
||
40 | |||
41 | /** |
||
42 | * @return ReadableStreamInterface |
||
43 | */ |
||
44 | public function getContents(): ReadableStreamInterface |
||
48 | } |
||
49 |