Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
translateVisited example
public
function
getPseudoClassTranslators
(
)
: array
{
return
[
'checked' =>
$this
->
translateChecked
(
...
)
,
'link' =>
$this
->
translateLink
(
...
)
,
'disabled' =>
$this
->
translateDisabled
(
...
)
,
'enabled' =>
$this
->
translateEnabled
(
...
)
,
'selected' =>
$this
->
translateSelected
(
...
)
,
'invalid' =>
$this
->
translateInvalid
(
...
)
,
'hover' =>
$this
->
translateHover
(
...
)
,
'visited' =>
$this
->
translateVisited
(
...
)
,
]
;
}
public
function
getFunctionTranslators
(
)
: array
{
return
[
'lang' =>
$this
->
translateLang
(
...
)
,
]
;
}
public
function
translateChecked
(
XPathExpr
$xpath
)
: XPathExpr
{