for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SumoCoders\FrameworkSearchBundle\Event;
use Symfony\Component\EventDispatcher\Event;
class IndexDeleteEvent extends Event
{
/**
* @var string
*/
protected $objectType;
protected $otherId;
* @param string $objectType
* @param string $otherId
public function __construct($objectType, $otherId)
$this->objectType = $objectType;
$this->otherId = $otherId;
}
* @return string
public function getObjectType()
return $this->objectType;
public function getOtherId()
return $this->otherId;