Completed
Push — master ( 78b4bc...aee67f )
by Lorenzo
01:34
created

AbstractNetwork::__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
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
3
namespace Padosoft\AffiliateNetwork;
4
5
/**
6
 * Class AbstractNetwork
7
 * @package Padosoft\AffiliateNetwork
8
 */
9
abstract class AbstractNetwork
10
{
11
    /**
12
     * username
13
     * @var string
14
     */
15
    protected $username = '';
16
17
    /**
18
     * password
19
     * @var string
20
     */
21
    protected $password = '';
22
23
    /**
24
     * AbstractNetwork constructor.
25
     * @param string $username
26
     * @param string $password
27
     */
28
    public function __construct(string $username, string $password)
29
    {
30
        $this->username = $username;
31
        $this->password = $password;
32
    }
33
34
}
35