The framework uses autoloading extensively. Including the domain
layer. I don´t load entities all at once.
> On Wed, Dec 9, 2009 at 9:34 AM, Rutkoski <
rutko...@gmail.com> wrote:
> > Here´s the thing: I'm creating the config dynamically as needed (I
> > only configure the entities I'm using at the moment), so I call
> > Outlet::init() and Outlet::createProxies() more than once (don´t know
> > if that´s the right way to go) and I get an error saying the
> > *_OutletProxy class already exists.
>
> > The same thing would happen if, for example, I created my proxy
> > classes manually or dumped them to a file (could be usefull).
>
> > The fix for the error is very simple. Just added an if inside
> > OutletProxyGenerator::generate() to check if the class does not
> > already exists.
>
> > function generate() {
> > ...
> > for ...
> > if (!class_exists("{$clazz}_OutletProxy")) {
> > ..
> > }
> > }
> > ...
> > }
>
> > I think it would be nice to incorporate that into the code.
>
> > * Trying out RC1 right now.
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Outlet ORM" group.
> > To post to this group, send email to
outle...@googlegroups.com.
> > To unsubscribe from this group, send email to