Commit 5e935baa792792e38c62c0e7f649931e11e8800b
1 parent
3f75daf5
Exists in
master
and in
2 other branches
altera namespace
Showing
4 changed files
with
8 additions
and
8 deletions
Show diff stats
Form/CircuitsType.php
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -namespace GerenciadorRedes\Bundle\CocarBundle\Form; | |
| 3 | +namespace Swpb\Bundle\CocarBundle\Form; | |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Form\AbstractType; |
| 6 | 6 | use Symfony\Component\Form\FormBuilderInterface; |
| ... | ... | @@ -53,7 +53,7 @@ class CircuitsType extends AbstractType |
| 53 | 53 | public function setDefaultOptions(OptionsResolverInterface $resolver) |
| 54 | 54 | { |
| 55 | 55 | $resolver->setDefaults(array( |
| 56 | - 'data_class' => 'GerenciadorRedes\Bundle\CocarBundle\Entity\Circuits' | |
| 56 | + 'data_class' => 'Swpb\Bundle\CocarBundle\Entity\Circuits' | |
| 57 | 57 | )); |
| 58 | 58 | } |
| 59 | 59 | ... | ... |
Form/EntityType.php
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -namespace GerenciadorRedes\Bundle\CocarBundle\Form; | |
| 3 | +namespace Swpb\Bundle\CocarBundle\Form; | |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Form\AbstractType; |
| 6 | 6 | use Symfony\Component\Form\FormBuilderInterface; |
| ... | ... | @@ -25,7 +25,7 @@ class EntityType extends AbstractType |
| 25 | 25 | public function setDefaultOptions(OptionsResolverInterface $resolver) |
| 26 | 26 | { |
| 27 | 27 | $resolver->setDefaults(array( |
| 28 | - 'data_class' => 'GerenciadorRedes\Bundle\CocarBundle\Entity\Entity' | |
| 28 | + 'data_class' => 'Swpb\Bundle\CocarBundle\Entity\Entity' | |
| 29 | 29 | )); |
| 30 | 30 | } |
| 31 | 31 | ... | ... |
README.md
| ... | ... | @@ -47,7 +47,7 @@ Instalação: |
| 47 | 47 | { |
| 48 | 48 | $bundles = array( |
| 49 | 49 | //... |
| 50 | - new GerenciadorRedes\Bundle\CocarBundle\CocarBundle() | |
| 50 | + new Swpb\Bundle\CocarBundle\CocarBundle() | |
| 51 | 51 | ); |
| 52 | 52 | } |
| 53 | 53 | ``` |
| ... | ... | @@ -65,8 +65,8 @@ Instalação: |
| 65 | 65 | |
| 66 | 66 | 6 – Instale os assets. |
| 67 | 67 | |
| 68 | - php app/console assets:install | |
| 69 | 68 | php app/console assetic:dump |
| 69 | + php app/console assets:install | |
| 70 | 70 | |
| 71 | 71 | 7 – Adicione os agendamentos ao cron. |
| 72 | 72 | ... | ... |
Resources/config/services.yml
| ... | ... | @@ -11,6 +11,6 @@ services: |
| 11 | 11 | # class: Cocar\CocarBundle\Controller\GraphController |
| 12 | 12 | services: |
| 13 | 13 | cocar_monitor: |
| 14 | - class: GerenciadorRedes\Bundle\CocarBundle\Controller\MonitorController | |
| 14 | + class: Swpb\Bundle\CocarBundle\Controller\MonitorController | |
| 15 | 15 | circuit: |
| 16 | - class: GerenciadorRedes\Bundle\CocarBundle\Entity\Circuits | |
| 17 | 16 | \ No newline at end of file |
| 17 | + class: Swpb\Bundle\CocarBundle\Entity\Circuits | ... | ... |