1 | <?php |
||
9 | class PrettyOutput extends Output |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | protected static $maskTemplate = '| %%-%d.%ds | %%-%d.%ds | %%-%d.%ds | %%-%d.%ds |'; |
||
15 | |||
16 | /** |
||
17 | * @var int |
||
18 | */ |
||
19 | protected $fileNameSpaceLength = 30; |
||
20 | |||
21 | /** |
||
22 | * @var int |
||
23 | */ |
||
24 | protected $hashSpaceLength = 40; |
||
25 | |||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $border; |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | 2 | protected function init() |
|
39 | |||
40 | /** |
||
41 | * |
||
42 | */ |
||
43 | 2 | protected function setBorder() |
|
58 | |||
59 | /** |
||
60 | * |
||
61 | */ |
||
62 | 2 | protected function setMask() |
|
76 | |||
77 | /** |
||
78 | * @return int |
||
79 | */ |
||
80 | 2 | public function getFileNameSpaceLength() |
|
84 | |||
85 | /** |
||
86 | * @param int $fileNameSpaceLength |
||
87 | * @return PrettyOutput |
||
88 | */ |
||
89 | 1 | public function setFileNameSpaceLength($fileNameSpaceLength) |
|
102 | |||
103 | /** |
||
104 | * @return int |
||
105 | */ |
||
106 | 2 | public function getHashSpaceLength() |
|
110 | |||
111 | /** |
||
112 | * @param int $hashSpaceLength |
||
113 | * @return PrettyOutput |
||
114 | */ |
||
115 | 1 | public function setHashSpaceLength($hashSpaceLength) |
|
128 | |||
129 | /** |
||
130 | * |
||
131 | */ |
||
132 | 1 | public function write() |
|
149 | |||
150 | /** |
||
151 | * @param ArrayCollection $differenceSet |
||
152 | */ |
||
153 | 1 | private function writeDifferenceSet(ArrayCollection $differenceSet) |
|
162 | |||
163 | /** |
||
164 | * |
||
165 | */ |
||
166 | 1 | private function writeHeader() |
|
177 | } |
||
178 |