We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Class Annotation has all methods named with Argument[s] postfix nor getNamedParameter is it bug ?

While implementing custom annotation reader I found that all methods from class Phalcon\Annotations\Annotation have *Argument[s] postfix but method named getNamedParameter hasn't! Why? I'm asking because there is getNamedArgument method. Is it bug ? I'm having 1.1.0 version od Phalcon.



98.9k

Yep, more than a bug, it's a naming inconsistency, this is going to be fixed in 1.1.0 final

https://github.com/phalcon/cphalcon/issues/431



98.9k

This is now fixed in 1.1.0