Function not found when using GetRepository
See original GitHub issue$objDocuments = $this->get('doctrine')->getRepository('AppBundle:Docs')->findAllDisplayable();
public function findAllDisplayable() exists in DocsRepository, and the code works just fine, but PHPStorm/Symfony plugin flags Method ‘findAllDisplayable’ not found in \Doctrine\Common\Persistence\ObjectRepository
Note that Docs Entity does contain @ORM\Entity(repositoryClass=“AppBundle\Entity\DocsRepository”)
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Symfony 3.4 : Repository method not found - Stack Overflow
Check first that you don't get a null object when using $this->getDoctrine()->getRepository('techeventBundle:Panier'); · $panier = $this-> ...
Read more >Find Options - typeorm - GitBook
All repository and manager .find* methods accept special options you can use to query data you need without using QueryBuilder :.
Read more >TypeORM - Working with Repository - Tutorialspoint
Repository is specific to an entity. In other words, each entity will have its own, build-in repository and it can be accessed using...
Read more >get-repository-endpoint — AWS CLI 1.27.27 Command ...
Override command's default URL with the given URL. --no-verify-ssl (boolean). By default, the AWS CLI uses SSL when communicating with AWS services. For ......
Read more >typeorm/typeorm - Gitter
on a postgres db, yet I can still save an entity with a value that is not part of ... property 'getRepository' of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@cmodijk you could hint it for PHPStorm by doing something like this until the plugin addresses it
Similar to #287