blob: 7e5746ec4312e0cf7c65425d46d0e63edea85bb0 [file]
<?php
require_once 'tutorial_autoload.php';
$output = new ezcConsoleOutput();
$status = new ezcConsoleProgressMonitor( $output, 7 );
$i = 0;
while( $i++ < 7 )
{
usleep( mt_rand( 20000, 2000000 ) );
$status->addEntry( 'ACTION', "Performed action #{$i}." );
}
$output->outputLine();
?>