3 namespace Sabberworm\CSS\Value
;
6 class URL
extends PrimitiveValue
{
10 public function __construct(CSSString
$oURL, $iLineNo = 0) {
11 parent
::__construct($iLineNo);
15 public function setURL(CSSString
$oURL) {
19 public function getURL() {
23 public function __toString() {
24 return $this->render(new \Sabberworm\CSS\
OutputFormat());
27 public function render(\Sabberworm\CSS\OutputFormat
$oOutputFormat) {
28 return "url({$this->oURL->render($oOutputFormat)})";