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

PaymentSource   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

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