Newscoop\Entity\Repository\AuthorTypeRepository::getAuthorType PHP Метод

getAuthorType() публичный Метод

public getAuthorType ( $id )
    public function getAuthorType($id)
    {
        $qb = $this->createQueryBuilder('at')->where('at.id = :id')->setParameter('id', $id);
        return $qb->getQuery();
    }