Knp\Bundle\KnpBundlesBundle\Controller\BaseController::getRepository PHP Method

getRepository() protected method

protected getRepository ( $class )
    protected function getRepository($class)
    {
        return $this->container->get('knp_bundles.entity_manager')->getRepository('Knp\\Bundle\\KnpBundlesBundle\\Entity\\' . $class);
    }