1 | <?php |
||
15 | class ProgressWriter implements Writer |
||
16 | { |
||
17 | /** |
||
18 | * @var OutputInterface |
||
19 | */ |
||
20 | protected $output; |
||
21 | |||
22 | /** |
||
23 | * @var ProgressBar |
||
24 | */ |
||
25 | protected $progress; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | protected $verbosity; |
||
31 | |||
32 | /** |
||
33 | * @var CountableReader |
||
34 | */ |
||
35 | protected $reader; |
||
36 | |||
37 | /** |
||
38 | * @var integer |
||
39 | */ |
||
40 | protected $redrawFrequency; |
||
41 | |||
42 | /** |
||
43 | * @param OutputInterface $output |
||
44 | * @param CountableReader $reader |
||
45 | * @param string $verbosity |
||
46 | * @param integer $redrawFrequency |
||
47 | */ |
||
48 | public function __construct( |
||
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | public function prepare() |
||
70 | |||
71 | /** |
||
72 | * {@inheritdoc} |
||
73 | */ |
||
74 | public function writeItem(array $item) |
||
78 | |||
79 | /** |
||
80 | * {@inheritdoc} |
||
81 | */ |
||
82 | public function finish() |
||
86 | } |
||
87 |