Completed
Push — master ( 479a33...82b45c )
by Leo
01:42
created

BaseBot::getAuth()   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
3
namespace leocata\m1Bot\Bot;
4
5
use leocata\M1\Authorization;
6
7
class BaseBot
8
{
9
    public $pass = '';
10
    public $username = '';
11
    private $auth;
12
13
    public function __construct()
14
    {
15
        $this->auth = new Authorization($this->username, $this->pass);
16
    }
17
18
    public function getAuth()
19
    {
20
        return $this->auth;
21
    }
22
}
23