Re: PHP5 OOP: Abstract classes, multiple inheritance and constructors
[email protected] (Micky Hulse)
| Newsgroups | php.general |
|---|---|
| Message-ID | <CALri7MmYd8SzAQ0Fj3u-7VuULkESh3LsduR7RWzdYgVfmbC1iw@mail.gmail.com> |
On Fri, Jun 21, 2013 at 12:54 PM, Micky Hulse <[email protected]> wrote: > 2. Is there a way for me to pass $foo to the parent class, from the > child, without having to ferry that variable through the abstract > class? I should mention, I'm working on some code where I don't have the ability to modify the "parent" class. I'd still like to know how to improve my demo code in general, but I'm working on a project where the parent class is off bounds in terms of modifying.