Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | class StringSourceBuilder implements SourceBuilderInterface |
||
6 | { |
||
7 | |||
8 | /** |
||
9 | * @var string |
||
10 | */ |
||
11 | private $body; |
||
12 | |||
13 | /** |
||
14 | * StringSourceBuilder constructor. |
||
15 | * @param string $body |
||
16 | */ |
||
17 | public function __construct(string $body) |
||
18 | { |
||
19 | $this->body = $body; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @inheritdoc |
||
24 | */ |
||
25 | public function build(): Source |
||
28 | } |
||
29 | } |
||
30 |