PaymentTransitions   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace PH\Component\Core;
6
7
final class PaymentTransitions
8
{
9
    const GRAPH = 'ph_payment';
10
11
    const TRANSITION_AUTHORIZE = 'authorize';
12
    const TRANSITION_CREATE = 'create';
13
    const TRANSITION_PROCESS = 'process';
14
    const TRANSITION_COMPLETE = 'complete';
15
    const TRANSITION_FAIL = 'fail';
16
    const TRANSITION_CANCEL = 'cancel';
17
    const TRANSITION_REFUND = 'refund';
18
    const TRANSITION_VOID = 'void';
19
20
    private function __construct()
21
    {
22
    }
23
}
24