|null Null means the row does not exist. */ public function readAtomic( string $key ): ?array; /** * Atomically replace an array only if its persisted value still matches. * * @param string $key Option key. * @param array|null $expected Expected value, or null for an absent row. * @param array $value Replacement value. */ public function compareAndSwap( string $key, ?array $expected, array $value ): bool; }