remove commented code in new repositories

This commit is contained in:
2021-04-02 17:50:45 +02:00
parent 25634ba12b
commit de240b099f
5 changed files with 2 additions and 141 deletions

View File

@@ -19,6 +19,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace Chill\PersonBundle\Repository\AccompanyingPeriod;
use Chill\PersonBundle\Entity\AccompanyingPeriod\Origin;
@@ -38,32 +39,4 @@ class OriginRepository extends ServiceEntityRepository
parent::__construct($registry, Origin::class);
}
// /**
// * @return Origin[] Returns an array of Origin objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->orderBy('o.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/
/*
public function findOneBySomeField($value): ?Origin
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}