Merge pull request #175 from lsmith77/get_class_name
added EntityRepository::getClassName()
This commit is contained in:
commit
e9068a1552
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