ResponsePresenter   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 1
cbo 2
dl 0
loc 16
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A startup() 0 5 1
A actionDefault() 0 4 1
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