| 1 | <?php |
||
| 16 | class SizeHelper extends Helper |
||
| 17 | { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * {@inheritdoc} |
||
|
1 ignored issue
–
show
|
|||
| 21 | */ |
||
|
1 ignored issue
–
show
|
|||
| 22 | 1 | public function getName() |
|
| 26 | |||
| 27 | /** |
||
| 28 | * Formats file/memory size in nice way |
||
| 29 | * |
||
| 30 | * @param integer $bytes Bytes. |
||
| 31 | * |
||
| 32 | * @return string |
||
| 33 | */ |
||
| 34 | 5 | public function formatSize($bytes) |
|
| 61 | |||
| 62 | } |
||
| 63 |