Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
framework
View
Asset
Remote.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\View\Asset
;
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
}
Magento\Framework\View\Asset\Remote
Definition:
Remote.php:11
Magento\Framework\View\Asset\Remote\__construct
__construct($url, $contentType='unknown')
Definition:
Remote.php:33
Magento\Framework\View\Asset\Remote\$url
$url
Definition:
Remote.php:18
Magento\Framework\View\Asset\Remote\getUrl
getUrl()
Definition:
Remote.php:42
Magento\Framework\View\Asset\Remote\$contentType
$contentType
Definition:
Remote.php:25
Magento\Framework\View\Asset\Remote\getSourceContentType
getSourceContentType()
Definition:
Remote.php:58
Magento\Framework\View\Asset
Definition:
AssetInterface.php:6
Magento\Framework\View\Asset\AssetInterface
Definition:
AssetInterface.php:14
Magento\Framework\View\Asset\Remote\getContentType
getContentType()
Definition:
Remote.php:50