47cede9ce0f4aa2a2a0a4a6cc9814b97c6bf5c46
[yaffs-website] / vendor / consolidation / robo / src / Contract / ProgressIndicatorAwareInterface.php
1 <?php
2 namespace Robo\Contract;
3
4 /**
5  * Any Robo task that uses the Timer trait and
6  * implements ProgressIndicatorAwareInterface will
7  * display a progress bar while the timer is running.
8  * Call advanceProgressIndicator to advance the indicator.
9  *
10  * Interface ProgressIndicatorAwareInterface
11  * @package Robo\Contract
12  */
13 interface ProgressIndicatorAwareInterface
14 {
15     /**
16      * @return int
17      */
18     public function progressIndicatorSteps();
19
20     /**
21      * @param \Robo\Common\ProgressIndicator $progressIndicator
22      */
23     public function setProgressIndicator($progressIndicator);
24 }