I don't see the point with being forced to make factory methods, only because
there's no way to raise an error from the constructor.
why not? It makes the code alot clearer.
If you need a single contructor, That may return errrors.. I aways try and use:
$x = y::construct(...)
It's clear this is returning something, and that something may be an error, where as I would never expect a constructor to do much more than instantate the object.
Regards
Alan
What do you think of these inherited methods : hasError() and popError() ?
-- og