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
I am not going to build something specific for a single project into Valitron. A possible solution here though is to allow for a closure as the class name instead of just a string or object. Then, you could create all that extra code that Doctrine requires yourself :p.
Currently, when using instanceOf validator with Doctrine entities, it will always fail since Doctrine is using Proxy classes (See: http://docs.doctrine-project.org/en/2.0.x/reference/working-with-objects.html ). Is possible to get real class name by using
ClassUtils::getRealClass
(From: http://stackoverflow.com/a/14895345/360186 )The text was updated successfully, but these errors were encountered: