for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace FOS\ElasticaBundle\Persister\Event;
use FOS\ElasticaBundle\Persister\ObjectPersisterInterface;
use FOS\ElasticaBundle\Provider\PagerInterface;
use Symfony\Component\EventDispatcher\Event;
final class PostPersistEvent extends Event
{
/**
* @var PagerInterface
*/
private $pager;
* @var ObjectPersisterInterface
private $objectPersister;
* @var array
private $options;
public function __construct(PagerInterface $pager, ObjectPersisterInterface $objectPersister, array $options)
$this->pager = $pager;
$this->objectPersister = $objectPersister;
$this->options = $options;
}
* @return PagerInterface
public function getPager()
return $this->pager;
* @return array
public function getOptions()
return $this->options;
* @return ObjectPersisterInterface
public function getObjectPersister()
return $this->objectPersister;