Completed
Push — master ( 022616...175363 )
by Alex
08:53
created

TestingPresenter::presenterResult()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
namespace Mezon\Application\Tests;
3
4
/**
5
 * Presenter class for testing purposes
6
 *
7
 * @author Dodonov A.A.
8
 */
9
class TestingPresenter extends \Mezon\Application\Presenter
10
{
11
12
    public function presenterTest(): string
13
    {
14
        return 'computed content';
15
    }
16
17
    public function presenterTest2(): string
18
    {
19
        return 'computed content 2';
20
    }
21
22
    public $wasCalled = false;
23
24
    public function presenterResult(): void
25
    {
26
        $this->wasCalled = true;
27
    }
28
}
29