Total Complexity | 3 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class FeedGenerator implements FeedGeneratorInterface |
||
16 | { |
||
17 | /** |
||
18 | * @var ChannelInterface |
||
19 | */ |
||
20 | private $config; |
||
21 | /** |
||
22 | * @var ItemInterface[] |
||
23 | */ |
||
24 | private $items; |
||
25 | |||
26 | /** |
||
27 | * FeedGenerator constructor. |
||
28 | * |
||
29 | * @param ChannelInterface $config |
||
30 | * @param ItemInterface[] $items |
||
31 | */ |
||
32 | public function __construct(ChannelInterface $config, ItemInterface ...$items) |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @return string |
||
40 | */ |
||
41 | public function getXml(): string |
||
54 | } |
||
55 | } |