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
Config
SchemaLocator.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Framework\Config
;
9
10
use
Magento\Framework\Config\Dom\UrnResolver
;
11
17
class
SchemaLocator
implements
\Magento\Framework\Config\SchemaLocatorInterface
18
{
24
protected
$schema
=
null
;
25
32
public
function
__construct
(
33
UrnResolver
$urnResolver,
34
$realPath =
'urn:magento:framework:Config/etc/view.xsd'
35
) {
36
$this->schema = $urnResolver->
getRealPath
($realPath);
37
}
38
44
public
function
getSchema
()
45
{
46
return
$this->schema
;
47
}
48
54
public
function
getPerFileSchema
()
55
{
56
return
$this->
getSchema
();
57
}
58
}
Magento\Framework\Config\SchemaLocator\$schema
$schema
Definition:
SchemaLocator.php:24
Magento\Framework\Config\Dom\UrnResolver\getRealPath
getRealPath($schema)
Definition:
UrnResolver.php:30
Magento\Framework\Config\SchemaLocator\getSchema
getSchema()
Definition:
SchemaLocator.php:44
Magento\Framework\Config
Definition:
AbstractXml.php:10
Magento\Framework\Config\Dom\UrnResolver
Definition:
UrnResolver.php:21
Magento\Framework\Config\SchemaLocator
Definition:
SchemaLocator.php:17
Magento\Framework\Config\SchemaLocatorInterface
Definition:
SchemaLocatorInterface.php:16
Magento\Framework\Config\SchemaLocator\__construct
__construct(UrnResolver $urnResolver, $realPath='urn:magento:framework:Config/etc/view.xsd')
Definition:
SchemaLocator.php:32
Magento\Framework\Config\SchemaLocator\getPerFileSchema
getPerFileSchema()
Definition:
SchemaLocator.php:54