true, 'destructive' => false, 'idempotent' => true]; } /** @return array{readonly: bool, destructive: bool, idempotent: bool} Writes, removes or overwrites nothing. */ public static function write(bool $idempotent): array { return ['readonly' => false, 'destructive' => false, 'idempotent' => $idempotent]; } /** @return array{readonly: bool, destructive: bool, idempotent: bool} Removes or overwrites something. */ public static function destructive(bool $idempotent): array { return ['readonly' => false, 'destructive' => true, 'idempotent' => $idempotent]; } }