Brion Vibber wrote:
Harris, Mike wrote:
$myTitle = new Title("Change Control
Test");
You might want to look at the existing code for how title objects are
created. There are factory functions for this.
I've been wondering for a while why the code above doesn't work. It
looks much nicer than Title::newFromText(). Why can't we have sensible
constructors for Title and User?
Of course, I'm the perpetrator of horrible entities such as
Database::newFromParams(), but in my defence, I was just trying to fit in.
-- Tim Starling