Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Remote.php
Go to the documentation of this file.
1 <?php
7 
11 class Remote implements AssetInterface
12 {
18  protected $url;
19 
25  protected $contentType;
26 
33  public function __construct($url, $contentType = 'unknown')
34  {
35  $this->url = $url;
36  $this->contentType = $contentType;
37  }
38 
42  public function getUrl()
43  {
44  return $this->url;
45  }
46 
50  public function getContentType()
51  {
52  return $this->contentType;
53  }
54 
58  public function getSourceContentType()
59  {
60  return $this->getContentType();
61  }
62 }
__construct($url, $contentType='unknown')
Definition: Remote.php:33