Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
FileResolverStub.php
Go to the documentation of this file.
1 <?php
7 namespace Magento\Customer\Model;
8 
10 {
14  public function get($filename, $scope)
15  {
17  $fileReadFactory = $objectManager->create(\Magento\Framework\Filesystem\File\ReadFactory::class);
18  $paths = [realpath(__DIR__ . '/../_files/etc/') . '/extension_attributes.xml'];
19  return new \Magento\Framework\Config\FileIterator($fileReadFactory, $paths);
20  }
21 }
$objectManager
Definition: bootstrap.php:17
defined('TESTS_BP')||define('TESTS_BP' __DIR__
Definition: _bootstrap.php:60
$paths
Definition: _bootstrap.php:83