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

Authenticated   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

2 Methods

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