-
Notifications
You must be signed in to change notification settings - Fork 5
API Events OperationStartedEvent
Event fired when a high-level operation starts. This event tracks business operations like check, expand, writeTuples, etc.
Table of Contents
OpenFGA\Events
public function getContext(): array<string, mixed>array<string, mixed>
public function getEventId(): stringGet the unique identifier for this event.
string — A unique identifier for the event instance
public function getEventType(): stringGet the name/type of this event.
string — The event type identifier
public function getModelId(): string|nullGet the model ID for the operation.
string | null — The model ID or null if not applicable
public function getOccurredAt(): DateTimeImmutableGet when this event occurred.
DateTimeImmutable — The timestamp when the event was created
public function getOperation(): stringGet the OpenFGA operation name.
string — The operation name (for example, 'check', 'write', 'read')
public function getPayload(): arrayGet the event payload data.
array — The event data
public function getStoreId(): string|nullGet the store ID for the operation.
string | null — The store ID or null if not applicable
public function isPropagationStopped(): boolCheck if event propagation should be stopped.
bool — True if propagation should be stopped
public function stopPropagation(): voidStop event propagation to remaining listeners.
void
Getting Started: Introduction • Installation • Authentication
Essentials: Stores • Authorization Models • Relationship Tuples • Permissions Queries
Features: Helper Functions • Concurrency • Results • Exceptions • Observability • Integration
- API Reference - Full class and method documentation
- Quickstart - Get up and running in minutes
- Helpers - Convenient shortcuts for common operations
- Testing Guide - Unit testing with the SDK
- Performance Guide - Optimize for high-scale applications
- Report Issues - Bug reports and feature requests
- Discussions - Community support and questions
- Contributing - Help improve the SDK
- Changelog - Latest updates and releases
- OpenFGA Documentation - Official OpenFGA documentation
- OpenFGA Playground - Interactive modeling environment
- Authorization Concepts - Learn relationship-based access control
- Other SDKs - JavaScript, Go, Python, .NET, and more
OpenFGA PHP SDK • Apache 2.0 License
- Authorization Stores
- Authorization Models
- Relationship Tuples
- Permission Queries
- Testing with Assertions
- Helper Functions
- Concurrency
- Error Handling
- Framework Integration
- OpenTelemetry Observability
- Result Pattern
- Event Dispatcher
- HTTP Request Sent Event
- HTTP Response Received Event
- Operation Started Event
- Operation Completed Event
- More Events …
- Authentication Exception
- Client Exception
- Configuration Exception
- Network Exception
- Serialization Exception
- More Exceptions …
- Request Manager
- Request Context
- Circuit Breaker
- Parallel Task Executor
- Fiber Concurrent Executor
- Simple Concurrent Executor
- Retry Handler
- Exponential Backoff Retry Strategy
- More Networking …