Re: [PHP-DEV] Re: Suggestion Method Constant

2017-10-15 Thread Andrea Faulds
Hi Niklas, Niklas Keller wrote: Hi Mathias, Mathias Grimm wrote: I would like to suggest a method constant that could be used the same way we use the ::class one I don't have a strong personal preference but it could be something like: MyController::myActionMethod::method, no sure about t

Re: [PHP-DEV] Re: Suggestion Method Constant

2017-10-14 Thread Niklas Keller
> > Hi Mathias, > > > Mathias Grimm wrote: > >> I would like to suggest a method constant that could be used the same way >> we use the ::class one >> >> I don't have a strong personal preference but it could be something like: >> >> MyController::myActionMethod::method, no sure about the internals

Re: [PHP-DEV] Re: Suggestion Method Constant

2017-10-14 Thread Michael Döhler
Hi, maybe the introduce of a complete new syntax for method references would solve the issues? Maybe coming back to e.g. "#" ("@" is still used for supressing errors,...)? As mentions before all kinds can be simplified or? See: MyClass#myMethod #function This should resolve in an object as m