Also: copying the method is perfectly OK :-)

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/

On Thu, Jan 19, 2017 at 2:54 PM, Peter Bowyer <[email protected]>
wrote:

> Thanks Marco.
>
> Peter
>
> On Thursday, 19 January 2017 11:58:40 UTC, Marco Pivetta wrote:
>>
>> The correct approach would be to extract the method into either:
>>
>>  * a static utility
>>  * an injected dependency
>>
>> Reuse through `protected` only leads to a massive amount of coupling, and
>> more BC concerns for us.
>>
>> Marco Pivetta
>>
> --
> You received this message because you are subscribed to the Google Groups
> "doctrine-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/doctrine-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to