Skip to content

Instantly share code, notes, and snippets.

@manuakasam
Created November 16, 2012 09:21
Show Gist options
  • Save manuakasam/4085814 to your computer and use it in GitHub Desktop.
Save manuakasam/4085814 to your computer and use it in GitHub Desktop.
<?php
namespace Kennzahlen\Service;
class Steuerwert extends DoctrineEntityService
{
/**
* @return \Doctrine\ORM\EntityRepository
*/
public function getEntityRepository()
{
if (null === $this->entityRepository) {
$this->setEntityRepository($this->getEntityManager()->getRepository('Kennzahlen\Entity\Steuerwert'));
}
return $this->entityRepository;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment