Elgg  Version 3.0
Public Member Functions | Protected Attributes | List of all members
Elgg\Cli\Progress Class Reference

CLI Progress reporter. More...

Public Member Functions

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

Protected Attributes

 $output
 

Detailed Description

CLI Progress reporter.

Definition at line 11 of file Progress.php.

Constructor & Destructor Documentation

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

Constructor.

Parameters
OutputInterface$outputOutput

Definition at line 23 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 47 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 35 of file Progress.php.

Member Data Documentation

Elgg\Cli\Progress::$output
protected

Definition at line 16 of file Progress.php.


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