| 1 | <?php |
||
| 7 | class ExportProgressEvent extends Event |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var int |
||
| 11 | */ |
||
| 12 | protected $current; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var int |
||
| 16 | */ |
||
| 17 | protected $total; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param int $current |
||
| 21 | * @param int $total |
||
| 22 | */ |
||
| 23 | public function __construct($current, $total) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return int |
||
| 31 | */ |
||
| 32 | public function getCurrent() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return int |
||
| 39 | */ |
||
| 40 | public function getTotal() |
||
| 44 | } |
||
| 45 |