A list of existing collections is returned by
listCollections(). This method returns an array of all the
names of collections belonging to the account you specified when you created the
adapter.
Example 74. List collections
<?php
$list = $documents->listCollections();
foreach ($list as $collection) {
echo "My collection: $collection\n";
}




