Skip to content

Doctrine repository function are not autocompleted #1038

@wallish

Description

@wallish

Phpstorm version: 2016.2.4
Plugin version: 0.14.155

All functions in the repository are not autocompleted, even when i use cmd + click (goto) and of course the functions are working.

// in articles entity
/**
 * Articles
 *
 * @ORM\Table(name="articles")
 * @ORM\Entity(repositoryClass="AppBundle\Repository\ArticlesRepository")
 */
class Articles
{
// in my repository
class ArticlesRepository extends EntityRepository
{
    public function findLastest(){}
// in my controller
$em = $this->getDoctrine()->getManager();
$articles = $em->getRepository('AppBundle:Articles')->findLastest();

Here some screenshots :

capture d ecran 2017-10-07 a 13 00 09

capture d ecran 2017-10-07 a 13 02 53

capture d ecran 2017-10-07 a 13 00 25

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions