You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of our object have public properties accessible only when object is in correct state. If object is in wrong state attempt to read this property raises excetion (magic __get).
This is problem when Mockery tries to convert these objects to array in for example Unexpected calls messages.
We would like to have option to set custom implemenation of objectToArray via configuration.
The text was updated successfully, but these errors were encountered:
It's more than year since I proposed this change. Any change in opinion on this? I can prepare PR with this improvement if it will be accepted as good solution.
Some of our object have public properties accessible only when object is in correct state. If object is in wrong state attempt to read this property raises excetion (magic __get).
This is problem when Mockery tries to convert these objects to array in for example Unexpected calls messages.
We would like to have option to set custom implemenation of objectToArray via configuration.
The text was updated successfully, but these errors were encountered: