Enter a type and click search.




Results for Magento\Analytics\Model\Config\SchemaLocator

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";

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

<virtualType name="Magento\Analytics\Model\Config\Reader\Xml"
             type="Magento\Framework\Config\Reader\Filesystem">
    <arguments>
        <argument name="converter" xsi:type="object">
            Magento\Analytics\ReportXml\Config\Converter\Xml
        </argument>
        <argument name="schemaLocator" xsi:type="object">
            Magento\Analytics\Model\Config\SchemaLocator
        </argument>
        <argument name="fileName" xsi:type="string">
            analytics.xml
        </argument>
        <argument name="idAttributes" xsi:type="array">
            <item name="/config/file" xsi:type="string">
                name
            </item>
        </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\Reader\Xml object that it should return a Magento\Framework\Config\Reader\Filesystem object.

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