Created
February 17, 2016 15:06
-
-
Save Raistlfiren/9e0b1a7b755c52bb7afc to your computer and use it in GitHub Desktop.
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 | |
protected function setUp() | |
{ | |
$this->factory = Forms::createFormFactoryBuilder() | |
->addExtensions($this->getExtensions()) | |
->addTypeExtension(new AutoCompleteExtension()) | |
->getFormFactory(); | |
$this->dispatcher = $this->getMock('Symfony\Component\EventDispatcher\EventDispatcherInterface'); | |
$this->builder = new FormBuilder(null, null, $this->dispatcher, $this->factory); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment