[Solar-talk] Quick thoughts on new factory() method instantiation
Paul M Jones
pmjones at ciaweb.net
Wed Jan 3 10:32:22 PST 2007
On Jan 3, 2007, at 12:16 PM, Travis Swicegood wrote:
> I was just thinking about this yesterday actually. What about
> naming it
> _solarFactory(). Of course, it would still need to be public so
> Solar::factory() could call it, but my thought is that it shouldn't be
> called directly, so creating the pseudo-protected naming would help
> underline that.
I thought of that, but it's a style break. If I break my own rules,
who can I expect to follow them?
--
Paul M. Jones <http://paul-m-jones.com>
Solar: Simple Object Library and Application Repository
for PHP5. <http://solarphp.com>
Join the Solar community wiki! <http://solarphp.org>
Savant: The simple, elegant, and powerful solution for
templates in PHP. <http://phpsavant.com>
More information about the solar-talk
mailing list