1 | <?php namespace Maqe\Qwatcher\Tracks\Enums; |
||
3 | class StatusType |
||
4 | { |
||
5 | const QUEUE = 'queue'; |
||
6 | const PROCESS = 'process'; |
||
7 | const SUCCEED = 'succeed'; |
||
8 | const FAILED = 'failed'; |
||
9 | |||
10 | const QUEUE_MESSAGE = 'queued'; |
||
11 | const PROCESS_MESSAGE = 'processing'; |
||
12 | const SUCCEED_MESSAGE = 'completed'; |
||
13 | const FAILED_MESSAGE = 'failed'; |
||
14 | |||
15 | public static function statsTypes() |
||
19 | |||
20 | public static function statusTypeMessages() |
||
29 | |||
30 | public static function getMessageByStatus($status) |
||
36 | } |
||
37 |