1 | <?php |
||
7 | class TorrentUtils |
||
8 | { |
||
9 | /** |
||
10 | * @param $torrent |
||
11 | * @return int seconds from torrent finish download |
||
12 | */ |
||
13 | public static function getTorrentAge($torrent) |
||
20 | |||
21 | public static function getTorrentAgeInDays($torrent) |
||
25 | |||
26 | public static function getSizeInGb($sizeInBytes, $round = 2) |
||
30 | } |
||
31 |