Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doctrine] autocomplete not working for getRepository(Entity::class) #824

Closed
mzk opened this issue Nov 22, 2016 · 3 comments
Closed

[Doctrine] autocomplete not working for getRepository(Entity::class) #824

mzk opened this issue Nov 22, 2016 · 3 comments
Labels

Comments

@mzk
Copy link

mzk commented Nov 22, 2016

This works fine
screen shot 2016-11-22 at 11 00 07

$em->getRepository('FulfillmentUserBundle:Store')
            ->createQueryBuilder('store')
            ->andWhere('store.id');

but, Entity::class not working
screen shot 2016-11-22 at 11 00 29

$em->getRepository(Store::class)
            ->createQueryBuilder('store')
            ->andWhere('store.');

PHPStorm 2016.3 EAP 163.7743.39

@Haehnchen
Copy link
Owner

released

@dewos
Copy link

dewos commented Jan 10, 2017

Hi @Haehnchen.

Happy new year :)
Nice update, but I was wondering if it works also with ->from(Entity::class, 'e') and ->join(Entity::class, 'e', 'WITH', 'e.id = :id')

@Haehnchen
Copy link
Owner

@dewos from support by 6d17c64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants