Commit 3f75daf5ea4a9d7862ae73046c71b87c998b10c4
1 parent
f90d494e
Exists in
master
and in
2 other branches
muda namespace
Showing
13 changed files
with
30 additions
and
30 deletions
Show diff stats
Entity/Circuits.php
1 | 1 | <?php |
2 | 2 | |
3 | -namespace GerenciadorRedes\Bundle\CocarBundle\Entity; | |
3 | +namespace Swpb\Bundle\CocarBundle\Entity; | |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | 6 | use Doctrine\Common\Collections\ArrayCollection; |
... | ... | @@ -9,7 +9,7 @@ use Doctrine\Common\Collections\ArrayCollection; |
9 | 9 | * Circuits |
10 | 10 | * |
11 | 11 | * @ORM\Table(name="tb_circuits") |
12 | - * @ORM\Entity(repositoryClass="GerenciadorRedes\Bundle\CocarBundle\Entity\CustomCircuitsRepository") | |
12 | + * @ORM\Entity(repositoryClass="Swpb\Bundle\CocarBundle\Entity\CustomCircuitsRepository") | |
13 | 13 | */ |
14 | 14 | class Circuits |
15 | 15 | { |
... | ... | @@ -639,7 +639,7 @@ class Circuits |
639 | 639 | * @param \Cocar\CocarBundle\Entity\Entity $entity |
640 | 640 | * @return Circuits |
641 | 641 | */ |
642 | - public function setEntity(\GerenciadorRedes\Bundle\CocarBundle\Entity\Entity $entity = null) | |
642 | + public function setEntity(\Swpb\Bundle\CocarBundle\Entity\Entity $entity = null) | |
643 | 643 | { |
644 | 644 | $this->entity = $entity; |
645 | 645 | |
... | ... | @@ -801,7 +801,7 @@ class Circuits |
801 | 801 | * @param \Cocar\CocarBundle\Entity\Machine $machine |
802 | 802 | * @return Entity |
803 | 803 | */ |
804 | - public function addMachine(\GerenciadorRedes\Bundle\CocarBundle\Entity\Machine $machine) | |
804 | + public function addMachine(\Swpb\Bundle\CocarBundle\Entity\Machine $machine) | |
805 | 805 | { |
806 | 806 | $this->machine[] = $machine; |
807 | 807 | |
... | ... | @@ -813,7 +813,7 @@ class Circuits |
813 | 813 | * |
814 | 814 | * @param \Cocar\CocarBundle\Entity\Circuits $machine |
815 | 815 | */ |
816 | - public function removeMachine(\GerenciadorRedes\Bundle\CocarBundle\Entity\Machine $machine) | |
816 | + public function removeMachine(\Swpb\Bundle\CocarBundle\Entity\Machine $machine) | |
817 | 817 | { |
818 | 818 | $this->machine->removeElement($machine); |
819 | 819 | } |
... | ... | @@ -827,4 +827,4 @@ class Circuits |
827 | 827 | { |
828 | 828 | return $this->machine; |
829 | 829 | } |
830 | -} | |
831 | 830 | \ No newline at end of file |
831 | +} | ... | ... |
Entity/CustomCircuitsRepository.php
1 | 1 | <?php |
2 | 2 | |
3 | -namespace GerenciadorRedes\Bundle\CocarBundle\Entity; | |
3 | +namespace Swpb\Bundle\CocarBundle\Entity; | |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityRepository; |
6 | 6 | |
... | ... | @@ -28,4 +28,4 @@ class CustomCircuitsRepository extends EntityRepository |
28 | 28 | ->setParameter('alarm', true) |
29 | 29 | ->getResult(); |
30 | 30 | } |
31 | -} | |
32 | 31 | \ No newline at end of file |
32 | +} | ... | ... |
Entity/CustomEntityRepository.php
Entity/DailyPerformance.php
1 | 1 | <?php |
2 | 2 | |
3 | -namespace GerenciadorRedes\Bundle\CocarBundle\Entity; | |
3 | +namespace Swpb\Bundle\CocarBundle\Entity; | |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | 6 | |
... | ... | @@ -8,7 +8,7 @@ use Doctrine\ORM\Mapping as ORM; |
8 | 8 | * Performance |
9 | 9 | * |
10 | 10 | * @ORM\Table(name="tb_daily_performance") |
11 | - * @ORM\Entity(repositoryClass="GerenciadorRedes\Bundle\CocarBundle\Entity\DailyPerformanceRepository") | |
11 | + * @ORM\Entity(repositoryClass="Swpb\Bundle\CocarBundle\Entity\DailyPerformanceRepository") | |
12 | 12 | */ |
13 | 13 | class DailyPerformance |
14 | 14 | { | ... | ... |
Entity/DailyPerformanceRepository.php
Entity/Entity.php
1 | 1 | <?php |
2 | 2 | |
3 | -namespace GerenciadorRedes\Bundle\CocarBundle\Entity; | |
3 | +namespace Swpb\Bundle\CocarBundle\Entity; | |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | 6 | use Doctrine\Common\Collections\ArrayCollection; |
... | ... | @@ -9,7 +9,7 @@ use Doctrine\Common\Collections\ArrayCollection; |
9 | 9 | * Entity |
10 | 10 | * |
11 | 11 | * @ORM\Table(name="tb_entity") |
12 | - * @ORM\Entity(repositoryClass="GerenciadorRedes\Bundle\CocarBundle\Entity\CustomEntityRepository") | |
12 | + * @ORM\Entity(repositoryClass="Swpb\Bundle\CocarBundle\Entity\CustomEntityRepository") | |
13 | 13 | */ |
14 | 14 | class Entity |
15 | 15 | { |
... | ... | @@ -111,7 +111,7 @@ class Entity |
111 | 111 | * @param \Cocar\CocarBundle\Entity\Circuits $circuits |
112 | 112 | * @return Entity |
113 | 113 | */ |
114 | - public function addCircuit(\GerenciadorRedes\Bundle\CocarBundle\Entity\Circuits $circuits) | |
114 | + public function addCircuit(\Swpb\Bundle\CocarBundle\Entity\Circuits $circuits) | |
115 | 115 | { |
116 | 116 | $this->circuits[] = $circuits; |
117 | 117 | |
... | ... | @@ -123,7 +123,7 @@ class Entity |
123 | 123 | * |
124 | 124 | * @param \Cocar\CocarBundle\Entity\Circuits $circuits |
125 | 125 | */ |
126 | - public function removeCircuit(\GerenciadorRedes\Bundle\CocarBundle\Entity\Circuits $circuits) | |
126 | + public function removeCircuit(\Swpb\Bundle\CocarBundle\Entity\Circuits $circuits) | |
127 | 127 | { |
128 | 128 | $this->circuits->removeElement($circuits); |
129 | 129 | } |
... | ... | @@ -137,4 +137,4 @@ class Entity |
137 | 137 | { |
138 | 138 | return $this->circuits; |
139 | 139 | } |
140 | -} | |
141 | 140 | \ No newline at end of file |
141 | +} | ... | ... |
Entity/Machine.php
1 | 1 | <?php |
2 | 2 | |
3 | -namespace GerenciadorRedes\Bundle\CocarBundle\Entity; | |
3 | +namespace Swpb\Bundle\CocarBundle\Entity; | |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | 6 | |
... | ... | @@ -12,7 +12,7 @@ use Symfony\Component\HttpFoundation\File\File; |
12 | 12 | * Machine |
13 | 13 | * |
14 | 14 | * @ORM\Table(name="tb_machine") |
15 | - * @ORM\Entity(repositoryClass="GerenciadorRedes\Bundle\CocarBundle\Entity\MachineRepository") | |
15 | + * @ORM\Entity(repositoryClass="Swpb\Bundle\CocarBundle\Entity\MachineRepository") | |
16 | 16 | */ |
17 | 17 | class Machine |
18 | 18 | { |
... | ... | @@ -225,7 +225,7 @@ class Machine |
225 | 225 | * @param \Cocar\CocarBundle\Entity\Circuits $gateway |
226 | 226 | * @return Circuits |
227 | 227 | */ |
228 | - public function setGateway(\GerenciadorRedes\Bundle\CocarBundle\Entity\Circuits $gateway = null) | |
228 | + public function setGateway(\Swpb\Bundle\CocarBundle\Entity\Circuits $gateway = null) | |
229 | 229 | { |
230 | 230 | $this->gateway = $gateway; |
231 | 231 | |
... | ... | @@ -235,7 +235,7 @@ class Machine |
235 | 235 | /** |
236 | 236 | * Get gateway |
237 | 237 | * |
238 | - * @return \GerenciadorRedes\Bundle\CocarBundle\Entity\Circuits | |
238 | + * @return \Swpb\Bundle\CocarBundle\Entity\Circuits | |
239 | 239 | */ |
240 | 240 | public function getGateway() |
241 | 241 | { | ... | ... |
Entity/MachineRepository.php
Entity/MonthlyPerformance.php
1 | 1 | <?php |
2 | 2 | |
3 | -namespace GerenciadorRedes\Bundle\CocarBundle\Entity; | |
3 | +namespace Swpb\Bundle\CocarBundle\Entity; | |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | 6 | |
... | ... | @@ -8,7 +8,7 @@ use Doctrine\ORM\Mapping as ORM; |
8 | 8 | * MonthlyPerformance |
9 | 9 | * |
10 | 10 | * @ORM\Table(name="tb_monthly_perform") |
11 | - * @ORM\Entity(repositoryClass="GerenciadorRedes\Bundle\CocarBundle\Entity\MonthlyPerformanceRepository") | |
11 | + * @ORM\Entity(repositoryClass="Swpb\Bundle\CocarBundle\Entity\MonthlyPerformanceRepository") | |
12 | 12 | */ |
13 | 13 | class MonthlyPerformance |
14 | 14 | { | ... | ... |
Entity/MonthlyPerformanceRepository.php
Entity/Reliability.php
1 | 1 | <?php |
2 | 2 | |
3 | -namespace GerenciadorRedes\Bundle\CocarBundle\Entity; | |
3 | +namespace Swpb\Bundle\CocarBundle\Entity; | |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | 6 | |
... | ... | @@ -8,7 +8,7 @@ use Doctrine\ORM\Mapping as ORM; |
8 | 8 | * Reliability |
9 | 9 | * |
10 | 10 | * @ORM\Table(name="tb_reliability") |
11 | - * @ORM\Entity(repositoryClass="GerenciadorRedes\Bundle\CocarBundle\Entity\ReliabilityRepository") | |
11 | + * @ORM\Entity(repositoryClass="Swpb\Bundle\CocarBundle\Entity\ReliabilityRepository") | |
12 | 12 | */ |
13 | 13 | class Reliability |
14 | 14 | { |
... | ... | @@ -121,4 +121,4 @@ class Reliability |
121 | 121 | { |
122 | 122 | return $this->rly; |
123 | 123 | } |
124 | -} | |
125 | 124 | \ No newline at end of file |
125 | +} | ... | ... |
Entity/ReliabilityRepository.php