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-ui
Config
Reader
SchemaLocator.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Ui\Config\Reader
;
7
8
use
Magento\Framework\Module\Dir
;
9
use
Magento\Framework\Module\Dir\Reader
;
10
14
class
SchemaLocator
implements
\Magento\Framework\Config\SchemaLocatorInterface
15
{
21
private
$perFileSchema;
22
26
public
function
__construct
(
Reader
$moduleReader)
27
{
28
$this->perFileSchema = $moduleReader->
getModuleDir
(
Dir::MODULE_ETC_DIR
,
'Magento_Ui'
)
29
.
'/'
.
'ui_configuration.xsd'
;
30
}
31
35
public
function
getSchema
()
36
{
37
return
null
;
38
}
39
43
public
function
getPerFileSchema
()
44
{
45
return
$this->perFileSchema;
46
}
47
}
Magento\Framework\Module\Dir
Definition:
Reader.php:8
Magento\Framework\Module\Dir\MODULE_ETC_DIR
const MODULE_ETC_DIR
Definition:
Dir.php:18
Magento\Framework\Module\Dir\Reader\getModuleDir
getModuleDir($type, $moduleName)
Definition:
Reader.php:172
Magento\Ui\Config\Reader\SchemaLocator\getPerFileSchema
getPerFileSchema()
Definition:
SchemaLocator.php:43
Magento\Ui\Config\Reader
Definition:
DomTest.php:6
Magento\Ui\Config\Reader\SchemaLocator
Definition:
SchemaLocator.php:14
Magento\Ui\Config\Reader\SchemaLocator\__construct
__construct(Reader $moduleReader)
Definition:
SchemaLocator.php:26
Magento\Ui\Config\Reader\SchemaLocator\getSchema
getSchema()
Definition:
SchemaLocator.php:35
Magento\Framework\Config\SchemaLocatorInterface
Definition:
SchemaLocatorInterface.php:16
Magento\Framework\Module\Dir\Reader
Definition:
Reader.php:20