* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace FOS\ElasticaBundle\Event; use Symfony\Component\EventDispatcher\Event; class IndexEvent extends Event { /** * @var string */ private $index; /** * @param string $index */ public function __construct($index) { $this->index = $index; } /** * @return string */ public function getIndex() { return $this->index; } }