| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
namespace AcyMailing\Libraries\Sabberworm\CSS\Value; |
| 6 |
|
| 7 |
use AcyMailing\Libraries\Sabberworm\CSS\OutputFormat; |
| 8 |
|
| 9 |
class CalcRuleValueList extends RuleValueList |
| 10 |
{ |
| 11 |
/** |
| 12 |
* @param int<1, max>|null $lineNumber |
| 13 |
*/ |
| 14 |
public function __construct(?int $lineNumber = null) |
| 15 |
{ |
| 16 |
parent::__construct(',', $lineNumber); |
| 17 |
} |
| 18 |
|
| 19 |
public function render(OutputFormat $outputFormat): string |
| 20 |
{ |
| 21 |
return $outputFormat->getFormatter()->implode(' ', $this->components); |
| 22 |
} |
| 23 |
} |
| 24 |
|