Elgg
Version 3.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
Cli
Progressing.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Cli
;
4
5
use
Symfony\Component\Console\Helper\ProgressBar
;
6
10
trait
Progressing
{
11
15
protected
$progress;
16
24
public
function
setProgressBar
(ProgressBar $progress) {
25
$this->progress = $progress;
26
}
27
34
public
function
advance
(
$step
= 1) {
35
if
($this->progress) {
36
$this->progress->advance(
$step
);
37
}
38
}
39
}
Elgg\Cli\setProgressBar
setProgressBar(ProgressBar $progress)
Set progress bar helper.
Definition:
Progressing.php:24
Progressing
ProgressBar
$step
$step
Definition:
time.php:39
Elgg\Cli
Definition:
Application.php:3
Elgg\Cli\advance
advance($step=1)
Advance progressbar.
Definition:
Progressing.php:34
Generated on Sun Mar 7 2021 00:00:23 for Elgg by
1.8.11