Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value

ValueList::__constructpublicWC 1.0

phpcs:ignore Generic.Files.LineLength

Метод класса: ValueList{}

Хуков нет.

Возвращает

null. Ничего (null).

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

$ValueList = new ValueList();
$ValueList->__construct( $aComponents, $sSeparator, $iLineNo );
$aComponents
.
По умолчанию: []
$sSeparator(строка)
.
По умолчанию: ','
$iLineNo(int)
.

Код ValueList::__construct() WC 10.9.1

public function __construct($aComponents = [], $sSeparator = ',', $iLineNo = 0)
{
    parent::__construct($iLineNo);
    if (!is_array($aComponents)) {
        $aComponents = [$aComponents];
    }
    $this->aComponents = $aComponents;
    $this->sSeparator = $sSeparator;
}