From 0ae027226deaf0cea7cb2cad5bcedcad5ee0417b Mon Sep 17 00:00:00 2001 From: Kore Nordmann Date: Thu, 13 May 2010 11:36:09 +0200 Subject: [PATCH] # Removed orphaned file --- src/logger/cli.php | 119 --------------------------------------------- 1 file changed, 119 deletions(-) delete mode 100644 src/logger/cli.php diff --git a/src/logger/cli.php b/src/logger/cli.php deleted file mode 100644 index 5a60e3a..0000000 --- a/src/logger/cli.php +++ /dev/null @@ -1,119 +0,0 @@ -stream = $output; - } - - /** - * Method called, when the executor run is started - * - * @param Executor $executor - * @return void - */ - public function startExecutor( Executor $executoar, JobProvider $jobProvider ) - { - if ( $jobProvider instanceof \Countable ) - { - $this->count = count( $jobProvider ); - } - } - - /** - * Method called, when all jobs are executed - * - * @return void - */ - public function finishedExecutor() - { - fprint( $this->stream, "\n" ); - } - - /** - * Method called, when all jobs are executed - * - * @return void - */ - public function progressJob( $nr ) - { - if ( $this->count ) - { - fwrite( $this->stream, sprintf( " \r% 4d / %d (% 2.2F%%) %s ", - $nr + 1, - $this->count, - ( $nr + 1 ) / $this->count * 100, - $this->processIndicators[$nr % count( $this->processIndicators )] - ) ); - } - else - { - fwrite( $this->stream, sprintf( " \r% 4d %s ", - $nr + 1, - $this->processIndicators[$nr % count( $this->processIndicators )] - ) ); - } - } -} -