Skip to content

[ProxyFactory] Problem this autogenerate proxies#58

Closed
stfalcon wants to merge 1 commit intodoctrine:masterfrom
stfalcon:patch-1
Closed

[ProxyFactory] Problem this autogenerate proxies#58
stfalcon wants to merge 1 commit intodoctrine:masterfrom
stfalcon:patch-1

Conversation

@stfalcon
Copy link

I generated proxies from CLI script and it's class exists. But this method every time try rewrite it.

I think this is not normal behavior. But I don't know why you used second argument in class_exists() call (to disable autoloading). Maybe you have a reason for this.

… But this method every time try rewrite it.


I think this is not normal behavior. But I don't now why you used second argument in class_exists() call (to disable autoloading). Maybe you has a reason for this.
@stof
Copy link
Member

stof commented May 13, 2011

The ProxyFactory is not about generating repositories but proxies

@stfalcon
Copy link
Author

Sorry for the typo. I mean about proxies

@beberlei
Copy link
Member

Well if you set setAutogenerateProxy(false) it does not rewrite it, this is documented. We don't autoload proxies, we use this mechanism to generate filename and require it.

@beberlei beberlei closed this May 15, 2011
@stfalcon
Copy link
Author

I understand. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants