Skip to content

Commit d53f34b

Browse files
committed
Renamed repository class
1 parent 1684e85 commit d53f34b

File tree

3 files changed

+20
-45
lines changed

3 files changed

+20
-45
lines changed

src/Entity/Process.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace App\Entity;
44

5-
use App\Repository\ProcessStepRepository;
5+
use App\Repository\ProcessRepository;
66
use Doctrine\ORM\Mapping as ORM;
77

8-
#[ORM\Entity(repositoryClass: ProcessStepRepository::class)]
8+
#[ORM\Entity(repositoryClass: ProcessRepository::class)]
99
#[ORM\Table(name: 'rpa_process_overview_process')]
1010
class Process
1111
{
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
namespace App\Repository;
4+
5+
use App\Entity\Process;
6+
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
7+
use Doctrine\Persistence\ManagerRegistry;
8+
9+
/**
10+
* @extends ServiceEntityRepository<Process>
11+
*/
12+
class ProcessRepository extends ServiceEntityRepository
13+
{
14+
public function __construct(ManagerRegistry $registry)
15+
{
16+
parent::__construct($registry, Process::class);
17+
}
18+
}

src/Repository/ProcessStepRepository.php

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)