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)
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
c
d
e
f
g
h
i
m
p
r
s
t
u
+
Functions
_
c
d
e
f
g
h
i
m
p
r
s
t
u
Variables
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
c
d
e
f
g
m
o
r
s
t
v
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
q
r
s
t
u
v
w
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
vendor
magento
magento2-base
setup
src
Magento
Setup
Model
Installer
ProgressFactory.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Setup\Model\Installer
;
8
9
use
Magento\Setup\Model\Installer
;
10
use
Magento\Setup\Model\WebLogger
;
11
15
class
ProgressFactory
16
{
23
public
function
createFromLog
(
WebLogger
$logger
)
24
{
25
$total = 1;
26
$current = 0;
27
$contents
= implode(
''
,
$logger
->get());
28
if
(preg_match_all(
Installer::PROGRESS_LOG_REGEX
,
$contents
, $matches, PREG_SET_ORDER)) {
29
$last = array_pop($matches);
30
list(, $current, $total) = $last;
31
}
32
$progress =
new
Progress
($total, $current);
33
return
$progress;
34
}
35
}
Magento\Setup\Model\Installer\ProgressFactory\createFromLog
createFromLog(WebLogger $logger)
Definition:
ProgressFactory.php:23
$contents
$contents
Definition:
website.php:14
Magento\Setup\Model\Installer\Progress
Definition:
Progress.php:12
$logger
$logger
Definition:
health_check.php:20
Magento\Setup\Model\WebLogger
Definition:
WebLogger.php:18
Magento\Setup\Model\Installer\ProgressFactory
Definition:
ProgressFactory.php:15
Magento\Setup\Model\Installer\PROGRESS_LOG_REGEX
const PROGRESS_LOG_REGEX
Definition:
Installer.php:67
Magento\Setup\Model\Installer
Definition:
Progress.php:7