| 1 | <?php |
||
| 14 | class Link implements OutputInterface, AppendAttributeInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $hreflang; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $href; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Image constructor |
||
| 28 | * |
||
| 29 | * @param $loc |
||
| 30 | */ |
||
| 31 | public function __construct($hreflang, $href) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param XMLWriter $XMLWriter |
||
| 39 | */ |
||
| 40 | public function generateXML(XMLWriter $XMLWriter) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param XMLWriter $XMLWriter |
||
| 51 | */ |
||
| 52 | public function appendAttributeToCollectionXML(XMLWriter $XMLWriter) |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @return string |
||
| 59 | */ |
||
| 60 | public function getHref() |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @return string |
||
| 67 | */ |
||
| 68 | public function getHreflang() |
||
| 72 | } |
||
| 73 |