Completed
Push — master ( e8b86c...279d13 )
by Sullivan
02:12
created

AbstractNumberedTransactionRequest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 3
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
3
namespace Nexy\PayboxDirect\Request;
4
5
/**
6
 * @author Sullivan Senechal <[email protected]>
7
 */
8
abstract class AbstractNumberedTransactionRequest extends AbstractTransactionRequest
9
{
10
    use TransactionNumberTrait, CallNumberTrait;
11
12
    public function __construct($amount, $transactionNumber, $callNumber)
13
    {
14
        parent::__construct($amount);
15
16
        $this->transactionNumber = $transactionNumber;
17
        $this->callNumber = $callNumber;
18
    }
19
}
20