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
module-theme
Model
Layout
Config
SchemaLocator.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Theme\Model\Layout\Config
;
9
10
use
Magento\Framework\Config\Dom\UrnResolver
;
11
12
class
SchemaLocator
implements
\Magento\Framework\Config\SchemaLocatorInterface
13
{
19
protected
$_schema
;
20
24
public
function
__construct
(
UrnResolver
$urnResolver)
25
{
26
$this->_schema = $urnResolver->
getRealPath
(
'urn:magento:framework:View/PageLayout/etc/layouts.xsd'
);
27
}
28
34
public
function
getSchema
()
35
{
36
return
$this->_schema
;
37
}
38
44
public
function
getPerFileSchema
()
45
{
46
return
$this->_schema
;
47
}
48
}
Magento\Theme\Model\Layout\Config\SchemaLocator\getSchema
getSchema()
Definition:
SchemaLocator.php:34
Magento\Framework\Config\Dom\UrnResolver\getRealPath
getRealPath($schema)
Definition:
UrnResolver.php:30
Magento\Theme\Model\Layout\Config\SchemaLocator\__construct
__construct(UrnResolver $urnResolver)
Definition:
SchemaLocator.php:24
Magento\Theme\Model\Layout\Config
Definition:
ReaderTest.php:8
Magento\Theme\Model\Layout\Config\SchemaLocator\$_schema
$_schema
Definition:
SchemaLocator.php:19
Magento\Theme\Model\Layout\Config\SchemaLocator\getPerFileSchema
getPerFileSchema()
Definition:
SchemaLocator.php:44
Magento\Framework\Config\Dom\UrnResolver
Definition:
UrnResolver.php:21
Magento\Framework\Config\SchemaLocatorInterface
Definition:
SchemaLocatorInterface.php:16
Magento\Theme\Model\Layout\Config\SchemaLocator
Definition:
SchemaLocator.php:12