Page MenuHomePhabricator

Allow PhutilConsoleProgressBar to be quiet
ClosedPublic

Authored by richardvanvelzen on Jun 16 2014, 10:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 3, 9:09 AM
Unknown Object (File)
Thu, May 2, 12:36 PM
Unknown Object (File)
Thu, Apr 25, 12:07 AM
Unknown Object (File)
Sat, Apr 20, 8:40 PM
Unknown Object (File)
Thu, Apr 11, 10:22 AM
Unknown Object (File)
Thu, Apr 11, 3:51 AM
Unknown Object (File)
Apr 3 2024, 7:44 AM
Unknown Object (File)
Apr 2 2024, 6:07 AM
Subscribers

Details

Summary

This allows you to use the progress bar even if you don't want it to output anything. This can simplify logic in other parts of your code.

$progress = new PhutilConsoleProgressBar();
$progress->setQuiet(true);
// etc.
Test Plan

derpy

Diff Detail

Repository
rPHU libphutil
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

richardvanvelzen retitled this revision from to Allow PhutilConsoleProgressBar to be quiet.
richardvanvelzen updated this object.
richardvanvelzen edited the test plan for this revision. (Show Details)
richardvanvelzen added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jun 16 2014, 10:47 PM
epriestley updated this revision to Diff 22976.

Closed by commit rPHU5c6aaa12af5e (authored by @richardvanvelzen, committed by @epriestley).