Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value

CalcRuleValueList{}WC 1.0└─ RuleValueList

No Hooks.

Usage

$CalcRuleValueList = new CalcRuleValueList();
// use class methods

Methods

  1. public __construct($iLineNo = 0)
  2. public render($oOutputFormat)

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);
    }
}