public function FieldMapEnhancerTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/Tests/Enhancer/FieldMapEnhancerTest.php \Symfony\Cmf\Component\Routing\Tests\Mapper\FieldMapEnhancerTest::setUp()
File
- vendor/
symfony-cmf/ routing/ Tests/ Enhancer/ FieldMapEnhancerTest.php, line 31
Class
Namespace
Symfony\Cmf\Component\Routing\Tests\MapperCode
public function setUp() {
$this->request = Request::create('/test');
$mapping = array(
'static_pages' => 'cmf_content.controller:indexAction',
);
$this->enhancer = new FieldMapEnhancer('type', '_controller', $mapping);
}