ResponsePresenter::startup()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
namespace Symnedi\EventDispatcher\Tests\NetteEvent\DispatchSource;
4
5
use Nette\Application\Responses\TextResponse;
6
use Nette\Application\UI\Presenter;
7
8
9
final class ResponsePresenter extends Presenter
10
{
11
12
	protected function startup()
13
	{
14
		parent::startup();
15
		$this->autoCanonicalize = FALSE;
16
	}
17
18
19
	public function actionDefault()
20
	{
21
		$this->sendResponse(new TextResponse(NULL));
22
	}
23
24
}
25