/** * @param string $method * @param string $path * @param array $arguments * @param string $content * * @return \Flowpack\ElasticSearch\Transfer\Response */ public function request($method, $path = null, $arguments = array(), $content = null) { $path = '/' . $this->name . ($path ?: ''); return $this->index->request($method, $path, $arguments, $content); }