Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value
CalcRuleValueList{}└─ RuleValueList
No Hooks.
Usage
$CalcRuleValueList = new CalcRuleValueList(); // use class methods
Methods
- public __construct($iLineNo = 0)
- public render($oOutputFormat)
CalcRuleValueList{} CalcRuleValueList{} code WC 10.4.3
class CalcRuleValueList extends RuleValueList
{
/**
* @param int $iLineNo
*/
public function __construct($iLineNo = 0)
{
parent::__construct(',', $iLineNo);
}
/**
* @param OutputFormat|null $oOutputFormat
*
* @return string
*/
public function render($oOutputFormat)
{
return $oOutputFormat->implode(' ', $this->aComponents);
}
}