| 1 | <?php  | 
            ||
| 14 | abstract class QueueUtils  | 
            ||
| 15 | { | 
            ||
| 16 | /**  | 
            ||
| 17 | * @param mixed $eta  | 
            ||
| 18 | *  | 
            ||
| 19 | * @return int The Unix timestamp.  | 
            ||
| 20 | *  | 
            ||
| 21 | * @throws \InvalidArgumentException  | 
            ||
| 22 | */  | 
            ||
| 23 | 145 | public static function normalizeEta($eta)  | 
            |
| 40 | |||
| 41 | /**  | 
            ||
| 42 | * @param mixed $eta  | 
            ||
| 43 | *  | 
            ||
| 44 | * @return int  | 
            ||
| 45 | */  | 
            ||
| 46 | 35 | public static function calculateDelay($eta)  | 
            |
| 56 | }  | 
            ||
| 57 |