You are here

public function FieldPresenceEnhancerTest::setUp in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony-cmf/routing/Tests/Enhancer/FieldPresenceEnhancerTest.php \Symfony\Cmf\Component\Routing\Tests\Enhancer\FieldPresenceEnhancerTest::setUp()

File

vendor/symfony-cmf/routing/Tests/Enhancer/FieldPresenceEnhancerTest.php, line 28

Class

FieldPresenceEnhancerTest

Namespace

Symfony\Cmf\Component\Routing\Tests\Enhancer

Code

public function setUp() {
  $this->mapper = new FieldPresenceEnhancer('_template', '_controller', 'cmf_content.controller:indexAction');
  $this->request = Request::create('/test');
}