for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TreeHouse\IoBundle\Event;
use Symfony\Component\EventDispatcher\Event;
class ExportProgressEvent extends Event
{
/**
* @var int
*/
protected $current;
protected $total;
* @param int $current
* @param int $total
public function __construct($current, $total)
$this->current = $current;
$this->total = $total;
}
* @return int
public function getCurrent()
return $this->current;
public function getTotal()
return $this->total;