From 20b72ef344e1d6af17c89644e667d75904ec9b90 Mon Sep 17 00:00:00 2001 From: encoder64 Date: Sat, 9 Aug 2014 13:20:27 +0300 Subject: [PATCH] Visibility for EntityRepositoryGenerator::$repositoryName --- lib/Doctrine/ORM/Tools/EntityRepositoryGenerator.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Doctrine/ORM/Tools/EntityRepositoryGenerator.php b/lib/Doctrine/ORM/Tools/EntityRepositoryGenerator.php index 88df4a54d..39cf3eb9f 100644 --- a/lib/Doctrine/ORM/Tools/EntityRepositoryGenerator.php +++ b/lib/Doctrine/ORM/Tools/EntityRepositoryGenerator.php @@ -32,7 +32,7 @@ namespace Doctrine\ORM\Tools; */ class EntityRepositoryGenerator { - protected $_repositoryName = 'Doctrine\ORM\EntityRepository'; + private $repositoryName = 'Doctrine\ORM\EntityRepository'; protected static $_template = ' extends { $namespace = $this->getClassNamespace($fullClassName); - $repositoryName = $this->_repositoryName; + $repositoryName = $this->repositoryName; if ($namespace && $repositoryName[0] !== '\\') { $repositoryName = '\\' . $repositoryName; @@ -162,7 +162,7 @@ class extends */ public function setDefaultRepositoryName($repositoryName) { - $this->_repositoryName = $repositoryName; + $this->repositoryName = $repositoryName; return $this; }