Automattic\WooCommerce\EmailEditorVendor\Sabberworm\CSS\Value

CalcRuleValueList{} │ WC 1.0└─ RuleValueList

Хуков нет.

Использование

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

Методы

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

Код CalcRuleValueList{} WC 11.3.0

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