Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
FactoryStub.php
Go to the documentation of this file.
1 <?php
7 
9 
14 {
22  public function __construct($config, $objectManager = null, $definitions = null, $globalArguments = [])
23  {
24  throw new \BadMethodCallException(__METHOD__);
25  }
26 
35  public function create($requestedType, array $arguments = [])
36  {
37  throw new \BadMethodCallException(__METHOD__);
38  }
39 
49  {
50  }
51 }
__construct($config, $objectManager=null, $definitions=null, $globalArguments=[])
Definition: FactoryStub.php:22
$objectManager
Definition: bootstrap.php:17
$config
Definition: fraud_order.php:17
$arguments
setObjectManager(ObjectManagerInterface $objectManager)
Definition: FactoryStub.php:48
create($requestedType, array $arguments=[])
Definition: FactoryStub.php:35