| Total Complexity | 3 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | 1 | final class Source extends \stdClass implements IXmlConvertible { |
|
| 12 | use \Nette\SmartObject; |
||
| 13 | |||
| 14 | public string $url; |
||
| 15 | public string $title; |
||
| 16 | |||
| 17 | public function __construct(string $url = "", string $title = "") { |
||
| 20 | 1 | } |
|
| 21 | |||
| 22 | public function appendToXml(\SimpleXMLElement &$parent): void { |
||
| 29 | ?> |