/home/techb158/dev.balacoffee.com/vendor/sabberworm/php-css-parser/src/Value
NameSizeModeActions
CalcFunction.php34080644editdlrm
CalcRuleValueList.php4410644editdlrm
Color.php57840644editdlrm
CSSFunction.php15900644editdlrm
CSSString.php27270644editdlrm
LineName.php18010644editdlrm
PrimitiveValue.php2280644editdlrm
RuleValueList.php2910644editdlrm
Size.php53760644editdlrm
URL.php18050644editdlrm
Value.php72010644editdlrm
ValueList.php23980644editdlrm
Edit: /home/techb158/dev.balacoffee.com/vendor/sabberworm/php-css-parser/src/Value/URL.php (1805B)
oURL = $oURL; } /** * @return URL * * @throws SourceException * @throws UnexpectedEOFException * @throws UnexpectedTokenException */ public static function parse(ParserState $oParserState) { $bUseUrl = $oParserState->comes('url', true); if ($bUseUrl) { $oParserState->consume('url'); $oParserState->consumeWhiteSpace(); $oParserState->consume('('); } $oParserState->consumeWhiteSpace(); $oResult = new URL(CSSString::parse($oParserState), $oParserState->currentLine()); if ($bUseUrl) { $oParserState->consumeWhiteSpace(); $oParserState->consume(')'); } return $oResult; } /** * @return void */ public function setURL(CSSString $oURL) { $this->oURL = $oURL; } /** * @return CSSString */ public function getURL() { return $this->oURL; } /** * @return string */ public function __toString() { return $this->render(new OutputFormat()); } /** * @return string */ public function render(OutputFormat $oOutputFormat) { return "url({$this->oURL->render($oOutputFormat)})"; } }