@@ -194,11 +194,17 @@ discard block |
||
| 194 | 194 | return $file; |
| 195 | 195 | } |
| 196 | 196 | |
| 197 | + /** |
|
| 198 | + * @param string $type |
|
| 199 | + */ |
|
| 197 | 200 | private function buildDestPath($type, $args) |
| 198 | 201 | { |
| 199 | 202 | return vsprintf($this->paths[$type]['dest'], $args); |
| 200 | 203 | } |
| 201 | 204 | |
| 205 | + /** |
|
| 206 | + * @param string $type |
|
| 207 | + */ |
|
| 202 | 208 | private function buildFilesArray($type, $files) |
| 203 | 209 | { |
| 204 | 210 | $path = $this->paths[$type]['src']; |
@@ -219,6 +225,9 @@ discard block |
||
| 219 | 225 | return $files; |
| 220 | 226 | } |
| 221 | 227 | |
| 228 | + /** |
|
| 229 | + * @return string |
|
| 230 | + */ |
|
| 222 | 231 | private function getClassFromFile($path) |
| 223 | 232 | { |
| 224 | 233 | $count = count($tokens = token_get_all(file_get_contents($path))); |