Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
Foo Class Reference

Public Member Functions

 __construct (\Magento\Customer\Api\CustomerRepositoryInterfaceFactory $customerRepositoryFactory=null)
 
 getBuilderFactory ()
 
 getBarFactory ()
 
 getPartialNamespaceBarFactory ()
 
 getUrlFactory ()
 
 getOptionFactory ()
 
 getProductLinkFactory ()
 
 getCustomerRepositoryFactory ()
 

Detailed Description

Definition at line 11 of file Foo.php.

Constructor & Destructor Documentation

◆ __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.

21  {
22  }

Member Function Documentation

◆ getBarFactory()

getBarFactory ( )
Returns
BarFactory

Definition at line 37 of file Foo.php.

38  {
39  return \Magento\Framework\App\ObjectManager::getInstance()->get(BarFactory::class);
40  }

◆ getBuilderFactory()

getBuilderFactory ( )
Returns
\Magento\Catalog\Model\Indexer\Product\Flat\Table\BuilderInterfaceFactory

Definition at line 27 of file Foo.php.

28  {
29  return \Magento\Framework\App\ObjectManager::getInstance()->get(
30  \Magento\Catalog\Model\Indexer\Product\Flat\Table\BuilderInterfaceFactory::class
31  );
32  }

◆ getCustomerRepositoryFactory()

getCustomerRepositoryFactory ( )
Returns
\Magento\Customer\Api\CustomerRepositoryInterfaceFactory

Definition at line 80 of file Foo.php.

81  {
82  return \Magento\Framework\App\ObjectManager::getInstance()->get(
83  \Magento\Customer\Api\CustomerRepositoryInterfaceFactory::class
84  );
85  }

◆ getOptionFactory()

getOptionFactory ( )
Returns
Product\OptionFactory

Definition at line 61 of file Foo.php.

62  {
63  return \Magento\Framework\App\ObjectManager::getInstance()->get(Product\OptionFactory::class);
64  }

◆ getPartialNamespaceBarFactory()

getPartialNamespaceBarFactory ( )
Returns
PartialNamespace\BarFactory

Definition at line 45 of file Foo.php.

46  {
47  return \Magento\Framework\App\ObjectManager::getInstance()->get(PartialNamespace\BarFactory::class);
48  }

◆ getProductLinkFactory()

getProductLinkFactory ( )
Returns
\Magento\Catalog\Api\Data\ProductLinkInterfaceFactory

Definition at line 69 of file Foo.php.

70  {
71  return \Magento\Framework\App\ObjectManager::getInstance()
72  ->get(
73  \Magento\Catalog\Api\Data\ProductLinkInterfaceFactory::class
74  );
75  }

◆ getUrlFactory()

getUrlFactory ( )
Returns
UrlFactory

Definition at line 53 of file Foo.php.

54  {
55  return \Magento\Framework\App\ObjectManager::getInstance()->get(UrlFactory::class);
56  }

The documentation for this class was generated from the following file: