1 | <?php declare(strict_types=1); |
||
11 | final class RenderMarkdownCommand |
||
12 | { |
||
13 | /** |
||
14 | * @var ReadableStreamInterface |
||
15 | */ |
||
16 | private $stream; |
||
17 | |||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | private $mode; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | private $context; |
||
27 | |||
28 | /** |
||
29 | * @param ReadableStreamInterface $stream |
||
30 | * @param string $mode |
||
31 | * @param string $context |
||
32 | */ |
||
33 | public function __construct( |
||
42 | |||
43 | /** |
||
44 | * @return ReadableStreamInterface |
||
45 | */ |
||
46 | public function getStream(): ReadableStreamInterface |
||
50 | |||
51 | /** |
||
52 | * @return string |
||
53 | */ |
||
54 | public function getMode(): string |
||
58 | |||
59 | /** |
||
60 | * @return string |
||
61 | */ |
||
62 | public function getContext(): string |
||
66 | } |
||
67 |