1
0
mirror of synced 2025-01-09 18:47:10 +03:00

simple fixes

This commit is contained in:
encoder64 2014-07-27 15:22:51 +03:00
parent 90efaeec42
commit 3dc2a68583

View File

@ -75,7 +75,7 @@ class <className> extends <repositoryName>
*
* @return string $namespace
*/
protected function generateEntityRepositoryNamespace($fullClassName)
private function generateEntityRepositoryNamespace($fullClassName)
{
$namespace = substr($fullClassName, 0, strrpos($fullClassName, '\\'));
@ -87,7 +87,7 @@ class <className> extends <repositoryName>
*/
protected function generateEntityRepositoryName()
{
$repositoryName = $this->getDefaultRepositoryName();
$repositoryName = $this->_repositoryName;
if (substr($repositoryName, 0, 1) != '\\') {
$repositoryName = '\\' . $repositoryName;
@ -130,12 +130,4 @@ class <className> extends <repositoryName>
return $this;
}
/**
* @return string
*/
public function getDefaultRepositoryName()
{
return $this->_repositoryName;
}
}