Good point - I agree. Thanks for taking the time to think about this! On Tue, Sep 18, 2012 at 12:22 PM, jpauli <jpa...@php.net> wrote:
> On Tue, Sep 18, 2012 at 5:14 PM, Amaury Bouchard <ama...@amaury.net> > wrote: > > Sounds to me like aspect-oriented programming, applied to object > construction. > > Take a look at: https://github.com/AOP-PHP/AOP > > +1, this is the same case as AOP, but for constructor. > Thus AOP may fit the need. > > Julien.P >