Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
framework
App
Test
Unit
ObjectManager
FactoryStub.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\App\Test\Unit\ObjectManager
;
7
8
use
Magento\Framework\ObjectManagerInterface
;
9
13
class
FactoryStub
implements
\Magento\Framework\ObjectManager\FactoryInterface
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
48
public
function
setObjectManager
(
ObjectManagerInterface
$objectManager
)
49
{
50
}
51
}
Magento\Framework\App\Test\Unit\ObjectManager\FactoryStub\__construct
__construct($config, $objectManager=null, $definitions=null, $globalArguments=[])
Definition:
FactoryStub.php:22
$objectManager
$objectManager
Definition:
bootstrap.php:17
$config
$config
Definition:
fraud_order.php:17
Magento\Framework\ObjectManager\FactoryInterface
Definition:
FactoryInterface.php:14
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Framework\App\Test\Unit\ObjectManager
Definition:
ConfigCacheTest.php:6
$arguments
$arguments
Definition:
final_price.phtml:24
Magento\Framework\App\Test\Unit\ObjectManager\FactoryStub\setObjectManager
setObjectManager(ObjectManagerInterface $objectManager)
Definition:
FactoryStub.php:48
Magento\Framework\App\Test\Unit\ObjectManager\FactoryStub\create
create($requestedType, array $arguments=[])
Definition:
FactoryStub.php:35
Magento\Framework\App\Test\Unit\ObjectManager\FactoryStub
Definition:
FactoryStub.php:13