Elastica\Snapshot::getAllSnapshots PHP Method

getAllSnapshots() public method

Retrieve data regarding all snapshots in the given repository.
public getAllSnapshots ( string $repository ) : array
$repository string the repository name
return array
    public function getAllSnapshots($repository)
    {
        return $this->request($repository . '/_all')->getData();
    }