New in Symfony 2.5: Better Error Messages for undefined Methods
Symfony 2.4 added great error messages for missing classes and functions. As of 2.5, Symfony will also help you debug undefined method calls.
Here is the kind of messages you will get in such cases:
"Attempted to call method "offsetFet" on class "SplObjectStorage" in foo.php line 12. Did you mean to call: "offsetSet", "offsetUnset", or "offsetGet"?"
New in Symfony 2.5: Better Error Messages for undefined Methods symfony.com/blog/new-in-symfony-2-5-better-error-messages-for-undefined-methodsTweet this
Become a certified developer! Exams are online and available in all countries.Register Now
Comments are closed.
To ensure that comments stay relevant, they are closed for old posts.