Re: PHP5 OOP: Abstract classes, multiple inheritance and constructors

From: Date: Fri, 21 Jun 2013 20:01:04 +0000
Subject: Re: PHP5 OOP: Abstract classes, multiple inheritance and constructors
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-321447@lists.php.net to get a copy of this message
On Fri, Jun 21, 2013 at 12:54 PM, Micky Hulse <mickyhulse.lists@gmail.com> 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.

« previous php.general (#321447) next »