This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace ZGOffers\MainBundle\Form; | |
use Symfony\Component\Form\AbstractType, | |
Symfony\Component\Form\FormBuilder; | |
class CreativeQuestionsType extends AbstractType | |
{ | |
public function buildForm(FormBuilder $builder, array $options) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
[...] | |
/** | |
* @Extra\Route("/offer/{offerId}/creative", name="admin_offer_creative") | |
* @Extra\Route("/offer/{offerId}/creative/{creativeId}", name="admin_offer_creative_edit") | |
* @Extra\Template() | |
*/ | |
public function creativeAction($offerId = null, $creativeId = null) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace JStout\MainBundle\Controller; | |
use Symfony\Bundle\FrameworkBundle\Controller\Controller, | |
Sensio\Bundle\FrameworkExtraBundle\Configuration as Extra, | |
Symfony\Component\HttpKernel\Exception\NotFoundHttpException, | |
JStout\MainBundle\Entity, | |
JStout\MainBundle\Form; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace JStout\MainBundle\Component\Twig\Extension; | |
use Twig_Extension, | |
Twig_Filter_Method, | |
Twig_Environment; | |
class Parser extends Twig_Extension | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace JStout\MainBundle\Form\Vendor; | |
use JStout\MainBundle\Component\Form\FormHandlerInterface, | |
Symfony\Component\Form\Form, | |
Symfony\Component\HttpFoundation\Request, | |
Doctrine\ORM\EntityManager, | |
JStout\MainBundle\Entity, | |
Symfony\Component\Security\Acl\Domain\ObjectIdentity, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
[...] | |
// process form | |
if ('POST' == $this->request->getMethod()) { | |
// bind form data | |
$form->bindRequest($this->request); | |
// If form is valid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace JStout\MainBundle\Entity; | |
use Doctrine\ORM\Mapping as ORM, | |
Symfony\Component\Validator\Constraints as Assert; | |
/** | |
* @ORM\Entity(repositoryClass="JStout\MainBundle\Entity\AdvertiserRepository") | |
* @ORM\Table(name="advertiser") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
[...] | |
class SignupHandler implements FormHandlerInterface | |
{ | |
protected $form; | |
protected $request; | |
protected $entityManager; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace JStout\MainBundle\Component\Form; | |
use Symfony\Component\Form\Form, | |
Doctrine\ORM\EntityManager, | |
Symfony\Component\HttpFoundation\Request, | |
JStout\MainBundle\Component\Form\FormHandlerInterface; | |
class FormHandler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace JStout\MainBundle\Form\User; | |
use Symfony\Component\Form\Form; | |
class SignupHandler | |
{ | |
protected $form; |