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
zendframework1
library
Zend
Log
Writer
Mock.php
Go to the documentation of this file.
1
<?php
24
#require_once 'Zend/Log/Writer/Abstract.php';
25
34
class
Zend_Log_Writer_Mock
extends
Zend_Log_Writer_Abstract
35
{
41
public
$events
= array();
42
48
public
$shutdown
=
false
;
49
56
public
function
_write
($event)
57
{
58
$this->events[] = $event;
59
}
60
66
public
function
shutdown
()
67
{
68
$this->
shutdown
=
true
;
69
}
70
77
static
public
function
factory
(
$config
)
78
{
79
return
new
self
();
80
}
81
}
$config
$config
Definition:
fraud_order.php:17
Zend_Log_Writer_Mock\_write
_write($event)
Definition:
Mock.php:56
Zend_Log_Writer_Mock\$shutdown
$shutdown
Definition:
Mock.php:48
Zend_Log_Writer_Mock\$events
$events
Definition:
Mock.php:41
Zend_Log_Writer_Mock
Definition:
Mock.php:34
Zend_Log_Writer_Mock\shutdown
shutdown()
Definition:
Mock.php:66
Zend_Log_Writer_Abstract
Definition:
Abstract.php:34
Zend_Log_Writer_Mock\factory
static factory($config)
Definition:
Mock.php:77