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.
Differential D9586
Allow PhutilConsoleProgressBar to be quiet richardvanvelzen on Jun 16 2014, 10:45 PM. Authored by Tags None Referenced Files
Subscribers
Details
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. derpy
Diff Detail
Event TimelineComment Actions Closed by commit rPHU5c6aaa12af5e (authored by @richardvanvelzen, committed by @epriestley). |