Lines Matching refs:sourceUrl
24 private $sourceUrl; variable in Assetic\\Asset\\HttpAsset
30 * @param string $sourceUrl The source URL
37 …public function __construct($sourceUrl, $filters = array(), $ignoreErrors = false, array $vars = a… argument
39 if (0 === strpos($sourceUrl, '//')) {
40 $sourceUrl = 'http:'.$sourceUrl;
41 } elseif (false === strpos($sourceUrl, '://')) {
42 throw new \InvalidArgumentException(sprintf('"%s" is not a valid URL.', $sourceUrl));
45 $this->sourceUrl = $sourceUrl;
48 list($scheme, $url) = explode('://', $sourceUrl, 2);
57 VarUtils::resolve($this->sourceUrl, $this->getVars(), $this->getValues())
61 … throw new \RuntimeException(sprintf('Unable to load asset from URL "%s"', $this->sourceUrl));
69 …if (false !== @file_get_contents($this->sourceUrl, false, stream_context_create(array('http' => ar…