Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value

RuleValueList{}WC 1.0└─ ValueList

This class is used to represent all multivalued rules like font: bold 12px/3 Helvetica, Verdana, sans-serif; (where the value would be a whitespace-separated list of the primitive value bold, a slash-separated list and a comma-separated list).

Хуков нет.

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

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

Методы

  1. public __construct($sSeparator = ',', $iLineNo = 0)

Код RuleValueList{} WC 10.4.3

class RuleValueList extends ValueList
{
    /**
     * @param string $sSeparator
     * @param int $iLineNo
     */
    public function __construct($sSeparator = ',', $iLineNo = 0)
    {
        parent::__construct([], $sSeparator, $iLineNo);
    }
}