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-email
Model
Template
Config
SchemaLocator.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Email\Model\Template\Config
;
9
10
use
Magento\Framework\Module\Dir
;
11
12
class
SchemaLocator
implements
\Magento\Framework\Config\SchemaLocatorInterface
13
{
19
private
$_schema;
20
24
public
function
__construct
(\
Magento
\Framework\Module\
Dir
\
Reader
$moduleReader)
25
{
26
$this->_schema = $moduleReader->getModuleDir(Dir::MODULE_ETC_DIR,
'Magento_Email'
) .
'/email_templates.xsd'
;
27
}
28
32
public
function
getSchema
()
33
{
34
return
$this->_schema;
35
}
36
40
public
function
getPerFileSchema
()
41
{
42
return
$this->_schema;
43
}
44
}
Magento\Framework\Module\Dir
Definition:
Reader.php:8
Magento\Email\Model\Template\Config
Definition:
Converter.php:8
Magento\Email\Model\Template\Config\SchemaLocator\__construct
__construct(\Magento\Framework\Module\Dir\Reader $moduleReader)
Definition:
SchemaLocator.php:24
Magento
Magento\Framework\Config\SchemaLocatorInterface
Definition:
SchemaLocatorInterface.php:16
Magento\Framework\Module\Dir
Definition:
Dir.php:13
Magento\Email\Model\Template\Config\SchemaLocator\getSchema
getSchema()
Definition:
SchemaLocator.php:32
Magento\Email\Model\Template\Config\SchemaLocator\getPerFileSchema
getPerFileSchema()
Definition:
SchemaLocator.php:40
Magento\Framework\Module\Dir\Reader
Definition:
Reader.php:20
Magento\Email\Model\Template\Config\SchemaLocator
Definition:
SchemaLocator.php:12