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-config
Model
Config
SchemaLocator.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Config\Model\Config
;
9
10
use
Magento\Framework\Module\Dir
;
11
16
class
SchemaLocator
implements
\Magento\Framework\Config\SchemaLocatorInterface
17
{
23
protected
$_schema
=
null
;
24
30
protected
$_perFileSchema
=
null
;
31
35
public
function
__construct
(\
Magento
\Framework\Module\
Dir
\
Reader
$moduleReader)
36
{
37
$etcDir = $moduleReader->getModuleDir(\
Magento
\Framework\Module\Dir::MODULE_ETC_DIR,
'Magento_Config'
);
38
$this->_schema = $etcDir .
'/system.xsd'
;
39
$this->_perFileSchema = $etcDir .
'/system_file.xsd'
;
40
}
41
47
public
function
getSchema
()
48
{
49
return
$this->_schema
;
50
}
51
57
public
function
getPerFileSchema
()
58
{
59
return
$this->_perFileSchema
;
60
}
61
}
Magento\Framework\Module\Dir
Definition:
Reader.php:8
Magento\Framework\App\DeploymentConfig\Reader
Definition:
Reader.php:22
Magento\Config\Model\Config\SchemaLocator\getPerFileSchema
getPerFileSchema()
Definition:
SchemaLocator.php:57
Magento\Config\Model\Config\SchemaLocator\$_schema
$_schema
Definition:
SchemaLocator.php:23
Magento\Config\Model\Config\SchemaLocator\__construct
__construct(\Magento\Framework\Module\Dir\Reader $moduleReader)
Definition:
SchemaLocator.php:35
Magento
Magento\Config\Model\Config\SchemaLocator\$_perFileSchema
$_perFileSchema
Definition:
SchemaLocator.php:30
Magento\Config\Model\Config\SchemaLocator\getSchema
getSchema()
Definition:
SchemaLocator.php:47
Magento\Config\Model\Config
Magento\Framework\Config\SchemaLocatorInterface
Definition:
SchemaLocatorInterface.php:16
Magento\Framework\Module\Dir
Definition:
Dir.php:13
Magento\Config\Model\Config\SchemaLocator
Definition:
SchemaLocator.php:16