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
But, in GeneratorListener.php existence of method getPrefix (in callbacks annotation) is checked on the ReflectionObject of entity and obviously "getPrefix()" method does not exist in ReflectionObject class but methods of ReflectedObject (MyEntityObject) are available thanks to ReflectionObject->getMethods(). and callable thanks to, for each method contained, $method->invoke($myEntityObject, 'argument');
Hi !
I would like to use callback but it seems that there's an issue.
I am using Symfony 3.1.10.
MyEntityObject.php
But, in GeneratorListener.php existence of method getPrefix (in callbacks annotation) is checked on the ReflectionObject of entity and obviously "getPrefix()" method does not exist in ReflectionObject class but methods of ReflectedObject (MyEntityObject) are available thanks to
ReflectionObject->getMethods().
and callable thanks to, for each method contained,$method->invoke($myEntityObject, 'argument');
The text was updated successfully, but these errors were encountered: