Enter a type and click search.




Results for Magento\Framework\Model\Entity\RepositoryFactory

File: vendor/magento/module-sales-rule/etc/di.xml

<type name="Magento\Framework\Model\Entity\RepositoryFactory">
    <arguments>
        <argument name="entities" xsi:type="array">
            <item name="Magento\SalesRule\Api\Data\RuleInterface"
                  xsi:type="string">
                Magento\SalesRule\Model\ResourceModel\Rule
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

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

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

  • $entities = [...items...];
Results for Magento\Framework\Model\Entity\RepositoryFactory

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

<type name="Magento\Framework\Model\Entity\RepositoryFactory">
    <arguments>
        <argument name="entities" xsi:type="array">
            <item name="Magento\Cms\Api\Data\PageInterface"
                  xsi:type="string">
                Magento\Cms\Api\PageRepositoryInterface
            </item>
            <item name="Magento\Cms\Api\Data\BlockInterface"
                  xsi:type="string">
                Magento\Cms\Api\BlockRepositoryInterface
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

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

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

  • $entities = [...items...];
Results for Magento\Framework\Model\Entity\RepositoryFactory

File: vendor/magento/module-catalog-rule/etc/di.xml

<type name="Magento\Framework\Model\Entity\RepositoryFactory">
    <arguments>
        <argument name="entities" xsi:type="array">
            <item name="Magento\CatalogRule\Api\Data\RuleInterface"
                  xsi:type="string">
                Magento\CatalogRule\Api\CatalogRuleRepositoryInterface
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

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

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

  • $entities = [...items...];
Results for Magento\Framework\Model\Entity\RepositoryFactory

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

<type name="Magento\Framework\Model\Entity\RepositoryFactory">
    <arguments>
        <argument name="entities" xsi:type="array">
            <item name="Magento\Catalog\Api\Data\ProductInterface"
                  xsi:type="string">
                Magento\Catalog\Api\ProductRepositoryInterface
            </item>
            <item name="Magento\Catalog\Api\Data\CategoryInterface"
                  xsi:type="string">
                Magento\Catalog\Api\CategoryRepositoryInterface
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

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

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

  • $entities = [...items...];