Re: invoking unrelated constructor's

From: Date: Fri, 22 Nov 2013 18:33:12 +0000
Subject: Re: invoking unrelated constructor's
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-322487@lists.php.net to get a copy of this message
On 11/22/13 7:46 AM, Sebastian Krebs wrote:
2013/11/22 Sachin Raut <imsachinraut@gmail.com>
I am learning PHP & came across that code in the book, hence thought to clear the doubt. Inheritance would have solved that issue. Could you please tell me which "design patterns" are recommended.
That depends on which problem you actually want to solve.
All of them!! Who wants problems? Happy Friday, Mattias

« previous php.general (#322487) next »