Completed
Push — master ( 7b285b...480624 )
by Rigel Kent
04:14
created

PaymentSource::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Luigel\Paymongo\Models;
4
5
class PaymentSource {
6
    public $id;
7
    public $type;
8
9
    public function __construct($source)
10
    {
11
        $this->id = $source['id'];
12
        $this->type = $source['type'];
13
    }
14
}
15