Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
SchemaLocator.php
Go to the documentation of this file.
1 <?php
7 
9 
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 }
__construct(\Magento\Framework\Module\Dir\Reader $moduleReader)