Enter a type and click search.




Results for Magento\Framework\Config\SchemaLocator

File: vendor/magento/magento2-base/app/etc/di.xml

<type name="Magento\Framework\Config\View">
    <arguments>
        <argument name="fileName" xsi:type="string">
            view.xml
        </argument>
        <argument name="converter" xsi:type="object">
            Magento\Framework\Config\Converter
        </argument>
        <argument name="schemaLocator" xsi:type="object">
            Magento\Framework\Config\SchemaLocator
        </argument>
        <argument name="fileResolver" xsi:type="object">
            Magento\Framework\Config\FileResolver
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is the application level configuration (`app/etc/di.xml`) fo the object manager. It is not a part of a specific module, but will apply to all sub-applications in Magento 2 (cart, admin, api, cron, etc).

This configuration tells the Object Manager that when a user wants a Magento\Framework\Config\View object that the following arguments should be used in the foo object's constructor.

File: vendor/magento/magento2-base/app/etc/di.xml

<virtualType name="Magento\Framework\Setup\Declaration\Schema\Config\SchemaLocator"
             type="Magento\Framework\Config\SchemaLocator">
    <arguments>
        <argument name="realPath" xsi:type="string">
            urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is the application level configuration (`app/etc/di.xml`) fo the object manager. It is not a part of a specific module, but will apply to all sub-applications in Magento 2 (cart, admin, api, cron, etc).

This virtualType configuration tells the Object Manager when a user wants a virtual Magento\Framework\Setup\Declaration\Schema\Config\SchemaLocator object that it should return a Magento\Framework\Config\SchemaLocator object.

This configuration tells the Object Manager that when a user wants a Magento\Framework\Setup\Declaration\Schema\Config\SchemaLocator object that the following arguments should be used in the foo object's constructor.

  • $realPath = "urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd";
Results for Magento\Framework\Config\SchemaLocator

File: vendor/magento/module-graph-ql/etc/di.xml

<virtualType name="Magento\Framework\GraphQl\Config\SchemaLocator"
             type="Magento\Framework\Config\SchemaLocator">
    <arguments>
        <argument name="realPath" xsi:type="string">
            urn:magento:module:Magento_GraphQl:etc/graphql.xsd
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual Magento\Framework\GraphQl\Config\SchemaLocator object that it should return a Magento\Framework\Config\SchemaLocator object.

This configuration tells the Object Manager that when a user wants a Magento\Framework\GraphQl\Config\SchemaLocator object that the following arguments should be used in the foo object's constructor.

  • $realPath = "urn:magento:module:Magento_GraphQl:etc/graphql.xsd";
Results for Magento\Framework\Config\SchemaLocator

File: vendor/magento/module-analytics/etc/di.xml

<virtualType name="Magento\Analytics\ReportXml\Config\SchemaLocator"
             type="Magento\Framework\Config\SchemaLocator">
    <arguments>
        <argument name="realPath" xsi:type="string">
            urn:magento:module:Magento_Analytics:etc/reports.xsd
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual Magento\Analytics\ReportXml\Config\SchemaLocator object that it should return a Magento\Framework\Config\SchemaLocator object.

This configuration tells the Object Manager that when a user wants a Magento\Analytics\ReportXml\Config\SchemaLocator object that the following arguments should be used in the foo object's constructor.

  • $realPath = "urn:magento:module:Magento_Analytics:etc/reports.xsd";

File: vendor/magento/module-analytics/etc/di.xml

<virtualType name="Magento\Analytics\Model\Config\SchemaLocator"
             type="Magento\Framework\Config\SchemaLocator">
    <arguments>
        <argument name="realPath" xsi:type="string">
            urn:magento:module:Magento_Analytics:etc/analytics.xsd
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual Magento\Analytics\Model\Config\SchemaLocator object that it should return a Magento\Framework\Config\SchemaLocator object.

This configuration tells the Object Manager that when a user wants a Magento\Analytics\Model\Config\SchemaLocator object that the following arguments should be used in the foo object's constructor.

  • $realPath = "urn:magento:module:Magento_Analytics:etc/analytics.xsd";