Encapsulates the current state of a cursor in case you need to rollback later.
WARNING: Do not attempt to use this class for ANYTHING except for type hinting and passing this object back into restoreState(). The constructor, methods, and inner contents may change in any future release without warning!
- internal
- psalm-immutable
CloneableFinalInstantiable
Methods |
public __construct(array $state)
|
public toArray() : array
|
Properties |
private array $state
|