Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\TestFramework\MemoryLimit $memoryLimit, $activationPolicy=self::POLICY_SHUTDOWN) | |
displayStats () | |
activateStatsDisplaying () | |
activateLimitValidation () | |
Data Fields | |
const | POLICY_SHUTDOWN = 'register_shutdown_function' |
Definition at line 12 of file Memory.php.
__construct | ( | \Magento\TestFramework\MemoryLimit | $memoryLimit, |
$activationPolicy = self::POLICY_SHUTDOWN |
|||
) |
\Magento\TestFramework\MemoryLimit | $memoryLimit | |
callable | string | $activationPolicy |
Definition at line 34 of file Memory.php.
activateLimitValidation | ( | ) |
Activate validation of the memory usage/leak limitations
Definition at line 64 of file Memory.php.
activateStatsDisplaying | ( | ) |
Activate displaying of the memory usage statistics
Definition at line 56 of file Memory.php.
displayStats | ( | ) |
Display memory usage statistics
Definition at line 48 of file Memory.php.
const POLICY_SHUTDOWN = 'register_shutdown_function' |
Policy to perform requested actions on shutdown
Definition at line 17 of file Memory.php.