Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class Document |
||
10 | { |
||
11 | /** @var string */ |
||
12 | private $fileName; |
||
13 | |||
14 | /** @var StreamInterface */ |
||
15 | private $fileStream; |
||
16 | |||
17 | public function __construct(string $fileName, StreamInterface $fileStream) |
||
18 | { |
||
19 | $this->fileName = $fileName; |
||
20 | $this->fileStream = $fileStream; |
||
21 | } |
||
22 | |||
23 | public function getFileName(): string |
||
26 | } |
||
27 | |||
28 | public function getFileStream(): StreamInterface |
||
33 |