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