for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the ONGR package.
*
* (c) NFQ Technologies UAB <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace ONGR\ElasticsearchBundle\Event;
use Elasticsearch\ClientBuilder;
use Symfony\Component\EventDispatcher\Event;
class PreCreateManagerEvent extends Event
{
/**
* @var ClientBuilder
private $client;
* @var array
private $indexSettings;
* CreateManagerEvent constructor.
* @param PreClientBuilder $client
* @param $indexSettings array
public function __construct(ClientBuilder $client, &$indexSettings)
$this->client = $client;
$this->indexSettings = $indexSettings;
}
* @return ClientBuilder
public function getClient()
return $this->client;
* @param ClientBuilder $client
public function setClient($client)
* @return array
public function getIndexSettings()
return $this->indexSettings;
* @param array $indexSettings
public function setIndexSettings($indexSettings)