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-webapi
Model
Config
SchemaLocator.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Webapi\Model\Config
;
7
8
use
Magento\Framework\Module\Dir
;
9
13
class
SchemaLocator
implements
\Magento\Framework\Config\SchemaLocatorInterface
14
{
20
protected
$_schema
=
null
;
21
27
protected
$_perFileSchema
=
null
;
28
32
public
function
__construct
(\
Magento
\Framework\Module\
Dir
\
Reader
$moduleReader)
33
{
34
$this->_schema = $moduleReader->getModuleDir(Dir::MODULE_ETC_DIR,
'Magento_Webapi'
) .
'/webapi.xsd'
;
35
}
36
42
public
function
getSchema
()
43
{
44
return
$this->_schema
;
45
}
46
52
public
function
getPerFileSchema
()
53
{
54
return
$this->_perFileSchema
;
55
}
56
}
Magento\Framework\Module\Dir
Definition:
Reader.php:8
Magento\Webapi\Model\Config\SchemaLocator
Definition:
SchemaLocator.php:13
Magento\Webapi\Model\Config\SchemaLocator\getPerFileSchema
getPerFileSchema()
Definition:
SchemaLocator.php:52
Magento\Webapi\Model\Config
Definition:
ReaderTest.php:7
Magento\Webapi\Model\Config\SchemaLocator\getSchema
getSchema()
Definition:
SchemaLocator.php:42
Magento\Webapi\Model\Config\SchemaLocator\$_schema
$_schema
Definition:
SchemaLocator.php:20
Magento\Webapi\Model\Config\SchemaLocator\__construct
__construct(\Magento\Framework\Module\Dir\Reader $moduleReader)
Definition:
SchemaLocator.php:32
Magento
Magento\Webapi\Model\Config\SchemaLocator\$_perFileSchema
$_perFileSchema
Definition:
SchemaLocator.php:27
Magento\Framework\Config\SchemaLocatorInterface
Definition:
SchemaLocatorInterface.php:16
Magento\Framework\Module\Dir
Definition:
Dir.php:13
Magento\Framework\Module\Dir\Reader
Definition:
Reader.php:20