protected static function index() { if (self::$index) { return self::$index; } if (!($client = self::client())) { return null; } if (self::$index = new Elastica_Index($client, self::$config['index'])) { return self::$index; } return null; }
public static function deleteIndex() { return parent::deleteIndex(); }