diff options
Diffstat (limited to 'library/vendor/dompdf/vendor/sabberworm/php-css-parser/src/Value/CalcRuleValueList.php')
-rw-r--r-- | library/vendor/dompdf/vendor/sabberworm/php-css-parser/src/Value/CalcRuleValueList.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/library/vendor/dompdf/vendor/sabberworm/php-css-parser/src/Value/CalcRuleValueList.php b/library/vendor/dompdf/vendor/sabberworm/php-css-parser/src/Value/CalcRuleValueList.php new file mode 100644 index 0000000..7dbd26a --- /dev/null +++ b/library/vendor/dompdf/vendor/sabberworm/php-css-parser/src/Value/CalcRuleValueList.php @@ -0,0 +1,24 @@ +<?php + +namespace Sabberworm\CSS\Value; + +use Sabberworm\CSS\OutputFormat; + +class CalcRuleValueList extends RuleValueList +{ + /** + * @param int $iLineNo + */ + public function __construct($iLineNo = 0) + { + parent::__construct(',', $iLineNo); + } + + /** + * @return string + */ + public function render(OutputFormat $oOutputFormat) + { + return $oOutputFormat->implode(' ', $this->aComponents); + } +} |