You are a developer and looking for Shopware projects?
Apply Now!
lexVar example
// on the current state
switch
(
$this
->state
)
{
case
self::STATE_DATA:
$this
->
lexData
(
)
;
break
;
case
self::STATE_BLOCK:
$this
->
lexBlock
(
)
;
break
;
case
self::STATE_VAR:
$this
->
lexVar
(
)
;
break
;
case
self::STATE_STRING:
$this
->
lexString
(
)
;
break
;
case
self::STATE_INTERPOLATION:
$this
->
lexInterpolation
(
)
;
break
;
}
}