| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | 1 | final class Enclosure implements IXmlConvertible { |
|
| 12 | use \Nette\SmartObject; |
||
| 13 | |||
| 14 | public string $url; |
||
| 15 | public int $length; |
||
| 16 | public string $type; |
||
| 17 | |||
| 18 | public function __construct(string $url, int $length, string $type) { |
||
| 19 | 1 | $this->url = $url; |
|
| 20 | 1 | $this->length = $length; |
|
| 21 | 1 | $this->type = $type; |
|
| 22 | 1 | } |
|
| 23 | |||
| 24 | public function appendToXml(\SimpleXMLElement &$parent): void { |
||
| 29 | 1 | } |
|
| 30 | } |
||
| 31 | ?> |