On 1 February 2014 23:21, Parsifal <[email protected]> wrote: > No,strings will not be changed. nor DQL strings, class names will be > obfuscated but the encoded version still can find the class name but since > 'Clients' and table names are string it still can find the table and run > the query. >
The ORM works with class names, not with table names. "Clients" is not converted automagically into a table name - the ORM will first look for a reflection instance of class "Clients" and work with that. > since filename and class name are the same ioncube has a treack when > autoload is run. so it will find it still. > ionCube will most probably obfuscate only static references to the class, which is most probably going to clash with this logic. > why don't you advice me just for PHP option since my question was simple? > If you know better and think that your question is simple, then why are you asking it on the mailing list? :-) Or why not simply fix your project first, and fix it for the broken "ionCube" (wrong technology applied to the wrong task, IMO) once you've learned how to work smoothly with the ORM? Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ -- 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.
