for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the FOSElasticaBundle package.
*
* (c) FriendsOfSymfony <https://friendsofsymfony.github.com/>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FOS\ElasticaBundle\Event;
/**
* Index ResetEvent.
* @author Oleg Andreyev <[email protected]>
abstract class AbstractIndexResetEvent extends AbstractIndexEvent
{
* @var bool
protected $force;
private $populating;
public function __construct(string $index, bool $populating, bool $force)
parent::__construct($index);
$this->force = $force;
$this->populating = $populating;
}
public function isForce(): bool
return $this->force;
public function isPopulating(): bool
return $this->populating;