Re: constructor hook
| From: | Rasmus Schultz | Date: | Tue, 18 Sep 2012 22:46:02 +0000 |
| Subject: | Re: constructor hook | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-63121@lists.php.net to get a copy of this message | ||
Good point - I agree. Thanks for taking the time to think about this!
On Tue, Sep 18, 2012 at 12:22 PM, jpauli <jpauli@php.net> wrote:
> On Tue, Sep 18, 2012 at 5:14 PM, Amaury Bouchard <amaury@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
>