Completed
Push — master ( 77bcd8...d53364 )
by Dmitry
08:45
created

Authenticated::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
nc 1
cc 1
eloc 3
nop 1
1
<?php
2
3
namespace hipanel\tests\_support\Page;
4
5
class Authenticated
6
{
7
    /**
8
     * @var \AcceptanceTester
9
     */
10
    protected $tester;
11
12
    public function __construct(\AcceptanceTester $I)
13
    {
14
        $this->tester = $I;
15
        $this->login();
16
    }
17
18
    protected function login()
19
    {
20
        $this->tester->login();
21
    }
22
}
23