added EntityRepository::getClassName() to fullfill the ObjectRepository interface
see https://github.com/doctrine/common/pull/70
This commit is contained in:
parent
cfe7ab46f2
commit
0a5a23628f
1 changed files with 9 additions and 1 deletions
|
@ -225,6 +225,14 @@ class EntityRepository implements ObjectRepository
|
|||
return $this->_entityName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getClassName()
|
||||
{
|
||||
return $this->getEntityName();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return EntityManager
|
||||
*/
|
||||
|
@ -240,4 +248,4 @@ class EntityRepository implements ObjectRepository
|
|||
{
|
||||
return $this->_class;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue