Newscoop\Entity\Repository\DatatableRepository::__construct PHP Метод

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

public __construct ( EntityManager $em, $entityName )
$em Doctrine\ORM\EntityManager
    public function __construct(EntityManager $em, $entityName)
    {
        $this->em = $em;
        $this->entityName = (string) $entityName;
        $this->repository = $this->em->getRepository($this->entityName);
    }