News for hackers. Stuff that matters.
Re:How To Build a 'Dynamic' Config Class in PHP by jawngee on Tuesday May 26, 2009 @06:14PM (#627630)
Why would you mock this as a function call and not use __get() so that it shows up as a property:

$config->databaseUrl;

versus

$config->getDatabaseUrl();

?

There are no comments on this comment yet.