[PSR-5][PSR-19] Improvement ideas for annotation typings

2018-10-13 Thread Marco Perone
put of the same type of another variable. Marco Perone -- You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+unsubscr...@goo

Re: [Proposal] TemplateRendererInterface

2017-09-24 Thread Marco Perone
Hi all, it would be really nice to have a standard template renderer interface. Two quick ideas aroud what has already been proposed: - having the `render` method receive an array as input looks too vague to me. I would expect it to receive a template and some data, so something like public

Re: Standard for CQRS and Event sourcing

2017-05-20 Thread Marco Perone
If I may add something to the discussion, I believe that the whole ES/CQRS process is too big for a single PSR. You could definitely use CQRS without ES and, theoreticallym you could even do ES without CQRS. Moreover, several components, like the command bus and the event bus, could be used on

Re: Final underscore in class names

2017-03-10 Thread Marco Perone
; > Comments inline. > > On Thu, Mar 9, 2017 at 10:40 PM, Marco Perone <pasaf...@gmail.com> wrote: > >> As per PSR-1 specifications, class names must be in StudlyCaps. >> >> >> However, if I want to define a class named Echo (or any other Php >> keyword),

Final underscore in class names

2017-03-09 Thread Marco Perone
As per PSR-1 specifications, class names must be in StudlyCaps. However, if I want to define a class named Echo (or any other Php keyword), I am not able to do that beacuse if I do so I obtain a parse error. It seems that the standard solution to this issue is to add an _ at the end of the