oooas
oooas copied to clipboard
feat: support re-importing objects exported via var_dump
This PR implements the __set_state magic method for all objects, which allows them to be re-imported after being exported via var_export.
In addition 2 minor changes were made to the interface:
OAuthFlow::scopesnow handles null correctlyScham::itemsnow acceptsnull, in-line with other methods
@matthew-inamdar any chance you could look at this? This is preventing us from using php artisan config:cache in a number of Laravel applications (using the https://github.com/vyuldashev/laravel-openapi package which depends on this)
Thanks for this @J0sh0nat0r - I'll take a look at this over the weekend, but it seems like a great addition.
Thanks for this @J0sh0nat0r - I'll take a look at this over the weekend, but it seems like a great addition.
@matthew-inamdar, any updates on this? I ran into this issue, would be great if we could get it solved. Happy to lend a hand if there's anything outstanding to get it over the line 👍 .
@matthew-inamdar any updates on this yet?
Just want to +1 this as would help out my laravel application greatly 😅