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


Namespace

OpenFGA\Responses


Source

View source code


Related Classes


Methods

getObject

public function getObject(): string

Get a single object identifier from a streamed response chunk.

View source


Returns

string — The object identifier

⚠️ **GitHub.com Fallback** ⚠️