Definition at line 11 of file Foo.php.
◆ __construct()
__construct |
( |
\Magento\Customer\Api\CustomerRepositoryInterfaceFactory |
$customerRepositoryFactory = null | ) |
|
Constructor
- Parameters
-
\Magento\Customer\Api\CustomerRepositoryInterfaceFactory | null | $customerRepositoryFactory | @SuppressWarnings(PHPMD.UnusedFormalParameter) |
Definition at line 19 of file Foo.php.
◆ getBarFactory()
- Returns
- BarFactory
Definition at line 37 of file Foo.php.
39 return \Magento\Framework\App\ObjectManager::getInstance()->get(BarFactory::class);
◆ getBuilderFactory()
- Returns
- \Magento\Catalog\Model\Indexer\Product\Flat\Table\BuilderInterfaceFactory
Definition at line 27 of file Foo.php.
29 return \Magento\Framework\App\ObjectManager::getInstance()->get(
30 \
Magento\Catalog\Model\Indexer\Product\Flat\Table\BuilderInterfaceFactory::class
◆ getCustomerRepositoryFactory()
getCustomerRepositoryFactory |
( |
| ) |
|
- Returns
- \Magento\Customer\Api\CustomerRepositoryInterfaceFactory
Definition at line 80 of file Foo.php.
82 return \Magento\Framework\App\ObjectManager::getInstance()->get(
83 \
Magento\Customer\Api\CustomerRepositoryInterfaceFactory::class
◆ getOptionFactory()
- Returns
- Product\OptionFactory
Definition at line 61 of file Foo.php.
63 return \Magento\Framework\App\ObjectManager::getInstance()->get(Product\OptionFactory::class);
◆ getPartialNamespaceBarFactory()
getPartialNamespaceBarFactory |
( |
| ) |
|
- Returns
- PartialNamespace\BarFactory
Definition at line 45 of file Foo.php.
47 return \Magento\Framework\App\ObjectManager::getInstance()->get(PartialNamespace\BarFactory::class);
◆ getProductLinkFactory()
getProductLinkFactory |
( |
| ) |
|
- Returns
- \Magento\Catalog\Api\Data\ProductLinkInterfaceFactory
Definition at line 69 of file Foo.php.
71 return \Magento\Framework\App\ObjectManager::getInstance()
73 \
Magento\Catalog\Api\Data\ProductLinkInterfaceFactory::class
◆ getUrlFactory()
- Returns
- UrlFactory
Definition at line 53 of file Foo.php.
55 return \Magento\Framework\App\ObjectManager::getInstance()->get(UrlFactory::class);
The documentation for this class was generated from the following file:
- vendor/magento/magento2-base/dev/tests/static/framework/tests/unit/testsuite/Magento/TestFramework/Utility/Foo.php