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-customer
CustomerData
SchemaLocator.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Customer\CustomerData
;
7
8
use
Magento\Framework\Module\Dir
;
9
10
class
SchemaLocator
implements
\Magento\Framework\Config\SchemaLocatorInterface
11
{
17
protected
$_schema
;
18
22
public
function
__construct
(\
Magento
\Framework\Module\
Dir
\
Reader
$moduleReader)
23
{
24
$this->_schema = $moduleReader->getModuleDir(
Dir::MODULE_ETC_DIR
,
'Magento_Customer'
) .
'/'
.
'sections.xsd'
;
25
}
26
30
public
function
getSchema
()
31
{
32
return
$this->_schema
;
33
}
34
38
public
function
getPerFileSchema
()
39
{
40
return
null
;
41
}
42
}
Magento\Framework\Module\Dir
Definition:
Reader.php:8
Magento\Framework\Module\Dir\MODULE_ETC_DIR
const MODULE_ETC_DIR
Definition:
Dir.php:18
Magento\Customer\CustomerData
Definition:
Customer.php:7
Magento\Customer\CustomerData\SchemaLocator
Definition:
SchemaLocator.php:10
Magento
Magento\Framework\Config\SchemaLocatorInterface
Definition:
SchemaLocatorInterface.php:16
Magento\Customer\CustomerData\SchemaLocator\$_schema
$_schema
Definition:
SchemaLocator.php:17
Magento\Customer\CustomerData\SchemaLocator\getSchema
getSchema()
Definition:
SchemaLocator.php:30
Magento\Framework\Module\Dir
Definition:
Dir.php:13
Magento\Framework\Module\Dir\Reader
Definition:
Reader.php:20
Magento\Customer\CustomerData\SchemaLocator\__construct
__construct(\Magento\Framework\Module\Dir\Reader $moduleReader)
Definition:
SchemaLocator.php:22
Magento\Customer\CustomerData\SchemaLocator\getPerFileSchema
getPerFileSchema()
Definition:
SchemaLocator.php:38