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-paypal
Model
Config
Rules
SchemaLocator.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Paypal\Model\Config\Rules
;
7
8
use
Magento\Framework\Config\SchemaLocatorInterface
;
9
use
Magento\Framework\Module\Dir
;
10
14
class
SchemaLocator
implements
SchemaLocatorInterface
15
{
21
protected
$schema
=
null
;
22
28
protected
$perFileSchema
=
null
;
29
33
public
function
__construct
(\
Magento
\Framework\Module\
Dir
\
Reader
$moduleReader)
34
{
35
$xsd = $moduleReader->getModuleDir(Dir::MODULE_ETC_DIR,
'Magento_Paypal'
) .
'/rules.xsd'
;
36
$this->perFileSchema = $xsd;
37
$this->schema = $xsd;
38
}
39
45
public
function
getSchema
()
46
{
47
return
$this->schema
;
48
}
49
55
public
function
getPerFileSchema
()
56
{
57
return
$this->perFileSchema
;
58
}
59
}
Magento\Framework\Module\Dir
Definition:
Reader.php:8
Magento\Paypal\Model\Config\Rules\SchemaLocator\getPerFileSchema
getPerFileSchema()
Definition:
SchemaLocator.php:55
Magento\Paypal\Model\Config\Rules\SchemaLocator
Definition:
SchemaLocator.php:14
Magento\Paypal\Model\Config\Rules
Definition:
Converter.php:6
Magento\Paypal\Model\Config\Rules\SchemaLocator\getSchema
getSchema()
Definition:
SchemaLocator.php:45
Magento
Magento\Paypal\Model\Config\Rules\SchemaLocator\__construct
__construct(\Magento\Framework\Module\Dir\Reader $moduleReader)
Definition:
SchemaLocator.php:33
Magento\Framework\Config\SchemaLocatorInterface
Definition:
SchemaLocatorInterface.php:16
Magento\Framework\Module\Dir
Definition:
Dir.php:13
Magento\Paypal\Model\Config\Rules\SchemaLocator\$schema
$schema
Definition:
SchemaLocator.php:21
Magento\Framework\Module\Dir\Reader
Definition:
Reader.php:20
Magento\Paypal\Model\Config\Rules\SchemaLocator\$perFileSchema
$perFileSchema
Definition:
SchemaLocator.php:28