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
magento2-base
dev
tests
integration
framework
Magento
TestFramework
Bootstrap
MemoryFactory.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\TestFramework\Bootstrap
;
8
9
class
MemoryFactory
10
{
14
private
$shell;
15
19
public
function
__construct
(\
Magento
\Framework\Shell $shell)
20
{
21
$this->shell =
$shell
;
22
}
23
29
public
function
create
($memUsageLimit, $memLeakLimit)
30
{
31
return
new \Magento\TestFramework\Bootstrap\Memory(
32
new
\
Magento
\TestFramework\
MemoryLimit
(
33
$memUsageLimit,
34
$memLeakLimit,
35
new
\
Magento
\TestFramework\Helper\
Memory
($this->shell)
36
)
37
);
38
}
39
}
Magento\TestFramework\MemoryLimit
Definition:
MemoryLimit.php:10
$shell
if(!file_exists($installConfigFile)) if(!defined('TESTS_INSTALLATION_DB_CONFIG_FILE')) $shell
Definition:
bootstrap.php:46
Magento\TestFramework\Bootstrap\Memory
Definition:
Memory.php:12
Magento\TestFramework\Bootstrap\MemoryFactory
Definition:
MemoryFactory.php:9
Magento\TestFramework\Bootstrap\MemoryFactory\create
create($memUsageLimit, $memLeakLimit)
Definition:
MemoryFactory.php:29
Magento\TestFramework\Bootstrap
Definition:
WebapiDocBlock.php:8
Magento\TestFramework\Bootstrap\MemoryFactory\__construct
__construct(\Magento\Framework\Shell $shell)
Definition:
MemoryFactory.php:19
Magento