for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TreeHouse\Feeder\Event;
use Symfony\Component\EventDispatcher\Event;
use Symfony\Component\HttpFoundation\ParameterBag;
use TreeHouse\Feeder\Exception\ModificationException;
use TreeHouse\Feeder\Modifier\Item\ModifierInterface;
class FailedItemModificationEvent extends Event
{
/**
* @var ParameterBag
*/
protected $item;
* @var ModifierInterface
protected $modifier;
* @var ModificationException
protected $exception;
* @var bool
protected $continue = false;
* @param ParameterBag $item
* @param ModifierInterface $modifier
* @param ModificationException $exception
public function __construct(ParameterBag $item, ModifierInterface $modifier, ModificationException $exception)
$this->item = $item;
$this->modifier = $modifier;
$this->exception = $exception;
}
* @return ParameterBag
public function getItem()
return $this->item;
* @return ModifierInterface
public function getModifier()
return $this->modifier;
* @return ModificationException
public function getException()
return $this->exception;
* @param bool $bool
public function setContinue($bool)
$this->continue = (boolean) $bool;
* @return bool
public function getContinue()
return $this->continue;