-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instantiator attempts to clone classes that are not cloneable #7
Comments
There's |
Interesting, I wasn't aware of it at all, but indeed, Are there internal classes in the SPL that are not cloneable? I don't want to require |
@Ocramius about to send a PR, using XMLReader |
There are a handful:
|
Just be sure to test for the ones I've linked in my |
@whatthejeff you need to exclude those with a
|
…iator#7-fix Hotfix/backport doctrine/instantiator#7 fix
I don't know how this might be solved, but some builtin classes are not cloneable:
I'm not aware of any way in which to tell if something isn't cloneable...
The text was updated successfully, but these errors were encountered: