Isn't that just the "delegate" pattern, by another name? I actually hate the way the sfUser class uses this pattern in Symfony. To me it says the "user" takes the role of a "session", which makes no conceptual sense. It is something I intend to patch.
Todd. > > Here's an intro to Dependency Injection from the Symfony folks: > > http://components.symfony-project.org/dependency-injection/trunk/book/01-Dependency-Injection > > > Kind regards, > James McGlinn > __________________________________ > CTO > Eventfinder Limited > Suite 106, Heards Building > 2 Ruskin Street, Parnell, Auckland 1052 > Phone: +649 365 2342 > Mobile: +6421 633 234 > > [email protected] > <mailto:[email protected]> | www.eventfinder.co.nz > <http://www.eventfinder.co.nz> > > -- > NZ PHP Users Group: http://groups.google.com/group/nzphpug > To post, send email to [email protected] > To unsubscribe, send email to > [email protected] -- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected]
