Elgg  Version master
Public Member Functions | List of all members
Elgg\Cli\Progress Class Reference

CLI Progress reporter. More...

Public Member Functions

 __construct (protected OutputInterface $output)
 Constructor. More...
 
 start ($process, $max=0)
 Start a new process. More...
 
 finish (ProgressBar $progress)
 Finish a process. More...
 

Detailed Description

CLI Progress reporter.

Definition at line 11 of file Progress.php.

Constructor & Destructor Documentation

Elgg\Cli\Progress::__construct ( protected OutputInterface  $output)

Constructor.

Parameters
OutputInterface$outputOutput

Definition at line 18 of file Progress.php.

Member Function Documentation

Elgg\Cli\Progress::finish ( ProgressBar  $progress)

Finish a process.

Parameters
ProgressBar$progressProgress bar
Returns
void

Definition at line 41 of file Progress.php.

Elgg\Cli\Progress::start (   $process,
  $max = 0 
)

Start a new process.

Parameters
string$processProcess name
int$maxMax number of steps in the process
Returns
ProgressBar

Definition at line 29 of file Progress.php.


The documentation for this class was generated from the following file: