Advertisement
Guest User

Untitled

a guest
May 24th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. <?php
  2.  
  3. namespace CodePilots\Bundle\Form;
  4.  
  5. use Symfony\Component\Form\AbstractType;
  6. use Symfony\Component\Form\FormBuilderInterface;
  7. use Symfony\Component\OptionsResolver\OptionsResolver;
  8. use Doctrine\ORM\EntityRepository;
  9. use Symfony\Component\Form\FormEvents;
  10. use Symfony\Component\Form\FormEvent;
  11. use Symfony\Component\DependencyInjection\ContainerAwareInterface;
  12. use Symfony\Component\DependencyInjection\ContainerInterface;
  13.  
  14. class LocationType extends AbstractType implements ContainerAwareInterface
  15. {
  16. /**
  17. * @var ContainerInterface
  18. */
  19. private $container;
  20.  
  21. public function setContainer(ContainerInterface $container = null)
  22. {
  23. $this->container = $container;
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement