Account::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 3
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace mattvb91\TronTrx;
4
5
/**
6
 * Class Account
7
 *
8
 * @property Address $address
9
 *
10
 * @package mattvb91\TronTrx
11
 */
12
class Account
13
{
14
    public $address;
15
    public $balance = 0.00;
16
    public $create_time = 0;
17
18
    public function __construct(Address $address, float $balance, int $create_time)
19
    {
20
        $this->address = $address;
21
        $this->balance = $balance;
22
        $this->create_time = $create_time;
23
    }
24
}