otphp icon indicating copy to clipboard operation
otphp copied to clipboard

Add migration API for `readonly` classes

Open Slamdunk opened this issue 1 month ago • 0 comments

This PR adds all the API necessary to migrate to readonly classes in the next major version.

Note that the use of clone keyword will not be necessary (actually not even allowed) in the next major: all the attributes will be passed in the constructors.

Supersedes https://github.com/Spomky-Labs/otphp/pull/205

Slamdunk avatar Nov 17 '25 13:11 Slamdunk