for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace GBProd\ElasticaExtraBundle\Exception;
/**
* Exception thrown if index has not been found
*
* @author gbprod <[email protected]>
*/
class IndexNotFoundException extends \Exception
{
* @var string
private $index;
* @param string $index
public function __construct($index)
$this->index = $index;
}
* Get index name
* @return string
public function getIndex()
return $this->index;