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 
10 
15 {
21  private $perFileSchema;
22 
26  public function __construct(Reader $moduleReader)
27  {
28  $this->perFileSchema = $moduleReader->getModuleDir(Dir::MODULE_ETC_DIR, 'Magento_Ui')
29  . '/' . 'ui_configuration.xsd';
30  }
31 
35  public function getSchema()
36  {
37  return null;
38  }
39 
43  public function getPerFileSchema()
44  {
45  return $this->perFileSchema;
46  }
47 }
getModuleDir($type, $moduleName)
Definition: Reader.php:172