I still don't see why this can't be a property of the query builder, why
does it need to spill into the DM? Not calling "setLocale" would be the
same as `createQueryBuilder()` and equally `setLocale(false)`.

Also, don't forget the `createQueryBuilder` method of the
DocumentRepository, which, with this change would now require both an
alias and a locale, which might be confusing.


On Fri, Oct 04, 2013 at 01:31:58AM -0700, Lukas Kahwe Smith wrote:
>    In lib/Doctrine/ODM/PHPCR/DocumentManager.php:
> 
>  >       * @return Builder\QueryBuilder
>  >       */
>  > -    public function createQueryBuilder()
>  > +    public function createQueryBuilder($locale = null)
> 
>    the difference is being able to do $dm->createQueryBuilder() for one wants
>    to just use the default locale while still being able to do
>    ``$dm->createQueryBuilder(false) to disable this behavior entirely.
> 
>    —
>    Reply to this email directly or [1]view it on GitHub.
> 
> References
> 
>    Visible links
>    1. https://github.com/doctrine/phpcr-odm/pull/353/files#r6762702