API Responses StreamedListObjectsResponseInterface - evansims/openfga-php GitHub Wiki
Response interface for streaming objects that a user has a specific relationship with. This response provides a Generator that yields object identifiers as they are streamed from the server. This allows for memory-efficient processing of large result sets without loading the entire dataset into memory at once.
Table of Contents
OpenFGA\Responses
- StreamedListObjectsResponse (implementation)
- StreamedListObjectsRequestInterface (request)
public function getObject(): string
Get a single object identifier from a streamed response chunk.
string
— The object identifier