| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
namespace AcyMailing\Libraries\Sabberworm\CSS\Value; |
| 6 |
|
| 7 |
/** |
| 8 |
* This class is used to represent all multivalued rules like `font: bold 12px/3 Helvetica, Verdana, sans-serif;` |
| 9 |
* (where the value would be a whitespace-separated list of the primitive value `bold`, a slash-separated list |
| 10 |
* and a comma-separated list). |
| 11 |
*/ |
| 12 |
class RuleValueList extends ValueList |
| 13 |
{ |
| 14 |
/** |
| 15 |
* @param non-empty-string $separator |
| 16 |
* @param int<1, max>|null $lineNumber |
| 17 |
*/ |
| 18 |
public function __construct(string $separator = ',', ?int $lineNumber = null) |
| 19 |
{ |
| 20 |
parent::__construct([], $separator, $lineNumber); |
| 21 |
} |
| 22 |
} |
| 23 |
|