Sorry for this stupid question, on wiki wrote:
$config->setProxyNamespace('MyProject\Proxies');
and in namespace line of proxies wrote:
namespace Proxies\__CG__\Entities;
1) So I should I change to this?
$config->setProxyNamespace('Proxies\__CG__\Entities');
please advice about this.2) I also noticed that the line below in entities prevents proxy generation via CLI and when I comment it, the proxy generation works! please advice. $metadata->setInheritanceType(ClassMetadataInfo::INHERITANCE_TYPE_NONE); If you advice for these 2 questions then I am fine with proxy thing! On Sun, Feb 9, 2014 at 11:29 PM, Marco Pivetta <[email protected]> wrote: > Yes, if auto-generation is turned off, then you need to re-distribute the > generated proxies with your product. > > Marco Pivetta > > http://twitter.com/Ocramius > > http://ocramius.github.com/ > > > On 9 February 2014 20:57, Parsifal <[email protected]> wrote: >> >> >> Hi, >> Sorry, I am a bit confused about Proxy. As stated on wiki, on production >> package, the autogenerate of proxies should be turned off. So do I need to >> generate them via CLI and re-distribute them with my package or not >> necessary to do so? >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "doctrine-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/doctrine-user. >> For more options, visit https://groups.google.com/groups/opt_out. > > > -- > You received this message because you are subscribed to the Google Groups > "doctrine-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/groups/opt_out.
