Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value
ValueList::__construct
phpcs:ignore Generic.Files.LineLength
Method of the class: ValueList{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ValueList = new ValueList(); $ValueList->__construct( $aComponents, $sSeparator, $iLineNo );
- $aComponents
- .
Default:[] - $sSeparator(string)
- .
Default:',' - $iLineNo(int)
- .
ValueList::__construct() ValueList:: construct code WC 10.8.1
public function __construct($aComponents = [], $sSeparator = ',', $iLineNo = 0)
{
parent::__construct($iLineNo);
if (!is_array($aComponents)) {
$aComponents = [$aComponents];
}
$this->aComponents = $aComponents;
$this->sSeparator = $sSeparator;
}