HrefLang
extends AbstractStandalone
in package
Helper for setting `alternate` `hreflang` tags. The normal `HeadLink` view helper of Laminas only allow us to set one and then overwrite only one tag, while we need more.
Tags
Table of Contents
Methods
- setHrefLang() : $this
- Set a specific `hreflang`.
- toString() : string
Methods
setHrefLang()
Set a specific `hreflang`.
public
setHrefLang(Languages|string $language, string $url) : $this
Parameters
- $language : Languages|string
- $url : string
Tags
Return values
$thistoString()
public
toString() : string