ElasticSearch\Transport\Memcached::delete PHP Method

delete() public method

Flush this index/type combination
public delete ( mixed $id = false, array $options = [] ) : array
$id mixed
$options array Parameters to pass to delete action
return array
    public function delete($id = false, array $options = array())
    {
        if ($id) {
            return $this->request(array($this->type, $id), "DELETE");
        } else {
            return $this->request(false, "DELETE");
        }
    }