*/ interface CollectionInterface { /** * @param int $count the number of metadata items to return * * @return iterable * * @throws InvalidCursorException if no item with $lastIdentifier was found */ public function getMetadata(int $count, ?string $lastIdentifier = null): iterable; }