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 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | -namespace GerenciadorRedes\Bundle\CocarBundle\Entity; | 3 | +namespace Swpb\Bundle\CocarBundle\Entity; |
| 4 | 4 | ||
| 5 | use Doctrine\ORM\Mapping as ORM; | 5 | use Doctrine\ORM\Mapping as ORM; |
| 6 | use Doctrine\Common\Collections\ArrayCollection; | 6 | use Doctrine\Common\Collections\ArrayCollection; |
| @@ -9,7 +9,7 @@ use Doctrine\Common\Collections\ArrayCollection; | @@ -9,7 +9,7 @@ use Doctrine\Common\Collections\ArrayCollection; | ||
| 9 | * Circuits | 9 | * Circuits |
| 10 | * | 10 | * |
| 11 | * @ORM\Table(name="tb_circuits") | 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 | class Circuits | 14 | class Circuits |
| 15 | { | 15 | { |
| @@ -639,7 +639,7 @@ class Circuits | @@ -639,7 +639,7 @@ class Circuits | ||
| 639 | * @param \Cocar\CocarBundle\Entity\Entity $entity | 639 | * @param \Cocar\CocarBundle\Entity\Entity $entity |
| 640 | * @return Circuits | 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 | $this->entity = $entity; | 644 | $this->entity = $entity; |
| 645 | 645 | ||
| @@ -801,7 +801,7 @@ class Circuits | @@ -801,7 +801,7 @@ class Circuits | ||
| 801 | * @param \Cocar\CocarBundle\Entity\Machine $machine | 801 | * @param \Cocar\CocarBundle\Entity\Machine $machine |
| 802 | * @return Entity | 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 | $this->machine[] = $machine; | 806 | $this->machine[] = $machine; |
| 807 | 807 | ||
| @@ -813,7 +813,7 @@ class Circuits | @@ -813,7 +813,7 @@ class Circuits | ||
| 813 | * | 813 | * |
| 814 | * @param \Cocar\CocarBundle\Entity\Circuits $machine | 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 | $this->machine->removeElement($machine); | 818 | $this->machine->removeElement($machine); |
| 819 | } | 819 | } |
| @@ -827,4 +827,4 @@ class Circuits | @@ -827,4 +827,4 @@ class Circuits | ||
| 827 | { | 827 | { |
| 828 | return $this->machine; | 828 | return $this->machine; |
| 829 | } | 829 | } |
| 830 | -} | ||
| 831 | \ No newline at end of file | 830 | \ No newline at end of file |
| 831 | +} |
Entity/CustomCircuitsRepository.php
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | -namespace GerenciadorRedes\Bundle\CocarBundle\Entity; | 3 | +namespace Swpb\Bundle\CocarBundle\Entity; |
| 4 | 4 | ||
| 5 | use Doctrine\ORM\EntityRepository; | 5 | use Doctrine\ORM\EntityRepository; |
| 6 | 6 | ||
| @@ -28,4 +28,4 @@ class CustomCircuitsRepository extends EntityRepository | @@ -28,4 +28,4 @@ class CustomCircuitsRepository extends EntityRepository | ||
| 28 | ->setParameter('alarm', true) | 28 | ->setParameter('alarm', true) |
| 29 | ->getResult(); | 29 | ->getResult(); |
| 30 | } | 30 | } |
| 31 | -} | ||
| 32 | \ No newline at end of file | 31 | \ No newline at end of file |
| 32 | +} |
Entity/CustomEntityRepository.php
Entity/DailyPerformance.php
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | -namespace GerenciadorRedes\Bundle\CocarBundle\Entity; | 3 | +namespace Swpb\Bundle\CocarBundle\Entity; |
| 4 | 4 | ||
| 5 | use Doctrine\ORM\Mapping as ORM; | 5 | use Doctrine\ORM\Mapping as ORM; |
| 6 | 6 | ||
| @@ -8,7 +8,7 @@ use Doctrine\ORM\Mapping as ORM; | @@ -8,7 +8,7 @@ use Doctrine\ORM\Mapping as ORM; | ||
| 8 | * Performance | 8 | * Performance |
| 9 | * | 9 | * |
| 10 | * @ORM\Table(name="tb_daily_performance") | 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 | class DailyPerformance | 13 | class DailyPerformance |
| 14 | { | 14 | { |
Entity/DailyPerformanceRepository.php
Entity/Entity.php
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | -namespace GerenciadorRedes\Bundle\CocarBundle\Entity; | 3 | +namespace Swpb\Bundle\CocarBundle\Entity; |
| 4 | 4 | ||
| 5 | use Doctrine\ORM\Mapping as ORM; | 5 | use Doctrine\ORM\Mapping as ORM; |
| 6 | use Doctrine\Common\Collections\ArrayCollection; | 6 | use Doctrine\Common\Collections\ArrayCollection; |
| @@ -9,7 +9,7 @@ use Doctrine\Common\Collections\ArrayCollection; | @@ -9,7 +9,7 @@ use Doctrine\Common\Collections\ArrayCollection; | ||
| 9 | * Entity | 9 | * Entity |
| 10 | * | 10 | * |
| 11 | * @ORM\Table(name="tb_entity") | 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 | class Entity | 14 | class Entity |
| 15 | { | 15 | { |
| @@ -111,7 +111,7 @@ class Entity | @@ -111,7 +111,7 @@ class Entity | ||
| 111 | * @param \Cocar\CocarBundle\Entity\Circuits $circuits | 111 | * @param \Cocar\CocarBundle\Entity\Circuits $circuits |
| 112 | * @return Entity | 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 | $this->circuits[] = $circuits; | 116 | $this->circuits[] = $circuits; |
| 117 | 117 | ||
| @@ -123,7 +123,7 @@ class Entity | @@ -123,7 +123,7 @@ class Entity | ||
| 123 | * | 123 | * |
| 124 | * @param \Cocar\CocarBundle\Entity\Circuits $circuits | 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 | $this->circuits->removeElement($circuits); | 128 | $this->circuits->removeElement($circuits); |
| 129 | } | 129 | } |
| @@ -137,4 +137,4 @@ class Entity | @@ -137,4 +137,4 @@ class Entity | ||
| 137 | { | 137 | { |
| 138 | return $this->circuits; | 138 | return $this->circuits; |
| 139 | } | 139 | } |
| 140 | -} | ||
| 141 | \ No newline at end of file | 140 | \ No newline at end of file |
| 141 | +} |
Entity/Machine.php
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | -namespace GerenciadorRedes\Bundle\CocarBundle\Entity; | 3 | +namespace Swpb\Bundle\CocarBundle\Entity; |
| 4 | 4 | ||
| 5 | use Doctrine\ORM\Mapping as ORM; | 5 | use Doctrine\ORM\Mapping as ORM; |
| 6 | 6 | ||
| @@ -12,7 +12,7 @@ use Symfony\Component\HttpFoundation\File\File; | @@ -12,7 +12,7 @@ use Symfony\Component\HttpFoundation\File\File; | ||
| 12 | * Machine | 12 | * Machine |
| 13 | * | 13 | * |
| 14 | * @ORM\Table(name="tb_machine") | 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 | class Machine | 17 | class Machine |
| 18 | { | 18 | { |
| @@ -225,7 +225,7 @@ class Machine | @@ -225,7 +225,7 @@ class Machine | ||
| 225 | * @param \Cocar\CocarBundle\Entity\Circuits $gateway | 225 | * @param \Cocar\CocarBundle\Entity\Circuits $gateway |
| 226 | * @return Circuits | 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 | $this->gateway = $gateway; | 230 | $this->gateway = $gateway; |
| 231 | 231 | ||
| @@ -235,7 +235,7 @@ class Machine | @@ -235,7 +235,7 @@ class Machine | ||
| 235 | /** | 235 | /** |
| 236 | * Get gateway | 236 | * Get gateway |
| 237 | * | 237 | * |
| 238 | - * @return \GerenciadorRedes\Bundle\CocarBundle\Entity\Circuits | 238 | + * @return \Swpb\Bundle\CocarBundle\Entity\Circuits |
| 239 | */ | 239 | */ |
| 240 | public function getGateway() | 240 | public function getGateway() |
| 241 | { | 241 | { |
Entity/MachineRepository.php
Entity/MonthlyPerformance.php
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | -namespace GerenciadorRedes\Bundle\CocarBundle\Entity; | 3 | +namespace Swpb\Bundle\CocarBundle\Entity; |
| 4 | 4 | ||
| 5 | use Doctrine\ORM\Mapping as ORM; | 5 | use Doctrine\ORM\Mapping as ORM; |
| 6 | 6 | ||
| @@ -8,7 +8,7 @@ use Doctrine\ORM\Mapping as ORM; | @@ -8,7 +8,7 @@ use Doctrine\ORM\Mapping as ORM; | ||
| 8 | * MonthlyPerformance | 8 | * MonthlyPerformance |
| 9 | * | 9 | * |
| 10 | * @ORM\Table(name="tb_monthly_perform") | 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 | class MonthlyPerformance | 13 | class MonthlyPerformance |
| 14 | { | 14 | { |
Entity/MonthlyPerformanceRepository.php
Entity/Reliability.php
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | -namespace GerenciadorRedes\Bundle\CocarBundle\Entity; | 3 | +namespace Swpb\Bundle\CocarBundle\Entity; |
| 4 | 4 | ||
| 5 | use Doctrine\ORM\Mapping as ORM; | 5 | use Doctrine\ORM\Mapping as ORM; |
| 6 | 6 | ||
| @@ -8,7 +8,7 @@ use Doctrine\ORM\Mapping as ORM; | @@ -8,7 +8,7 @@ use Doctrine\ORM\Mapping as ORM; | ||
| 8 | * Reliability | 8 | * Reliability |
| 9 | * | 9 | * |
| 10 | * @ORM\Table(name="tb_reliability") | 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 | class Reliability | 13 | class Reliability |
| 14 | { | 14 | { |
| @@ -121,4 +121,4 @@ class Reliability | @@ -121,4 +121,4 @@ class Reliability | ||
| 121 | { | 121 | { |
| 122 | return $this->rly; | 122 | return $this->rly; |
| 123 | } | 123 | } |
| 124 | -} | ||
| 125 | \ No newline at end of file | 124 | \ No newline at end of file |
| 125 | +} |
Entity/ReliabilityRepository.php