Completed
Push — develop ( fd7b2c...32742a )
by Stoea
01:56
created

TransactionsObserver   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 58
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

5 Methods

Rating   Name   Duplication   Size   Complexity  
A created() 0 5 1
A updated() 0 4 1
A deleted() 0 4 1
A restored() 0 4 1
A forceDeleted() 0 4 1
1
<?php
2
3
namespace App\Observers;
4
5
use Stl30\LaravelMobilpay\MobilpayTransaction;
6
7
class TransactionsObserver
8
{
9
    /**
10
     * Handle the mobilpay transaction "created" event.
11
     *
12
     * @param  \Stl30\LaravelMobilpay\MobilpayTransaction  $mobilpayTransaction
13
     * @return void
14
     */
15
    public function created(MobilpayTransaction $mobilpayTransaction)
16
    {
17
        //
18
        dd(__METHOD__,$mobilpayTransaction);
19
    }
20
21
    /**
22
     * Handle the mobilpay transaction "updated" event.
23
     *
24
     * @param  \Stl30\LaravelMobilpay\MobilpayTransaction  $mobilpayTransaction
25
     * @return void
26
     */
27
    public function updated(MobilpayTransaction $mobilpayTransaction)
0 ignored issues
show
Unused Code introduced by
The parameter $mobilpayTransaction is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
28
    {
29
        //
30
    }
31
32
    /**
33
     * Handle the mobilpay transaction "deleted" event.
34
     *
35
     * @param  \Stl30\LaravelMobilpay\MobilpayTransaction  $mobilpayTransaction
36
     * @return void
37
     */
38
    public function deleted(MobilpayTransaction $mobilpayTransaction)
0 ignored issues
show
Unused Code introduced by
The parameter $mobilpayTransaction is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
39
    {
40
        //
41
    }
42
43
    /**
44
     * Handle the mobilpay transaction "restored" event.
45
     *
46
     * @param  \Stl30\LaravelMobilpay\MobilpayTransaction  $mobilpayTransaction
47
     * @return void
48
     */
49
    public function restored(MobilpayTransaction $mobilpayTransaction)
0 ignored issues
show
Unused Code introduced by
The parameter $mobilpayTransaction is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
50
    {
51
        //
52
    }
53
54
    /**
55
     * Handle the mobilpay transaction "force deleted" event.
56
     *
57
     * @param  \Stl30\LaravelMobilpay\MobilpayTransaction  $mobilpayTransaction
58
     * @return void
59
     */
60
    public function forceDeleted(MobilpayTransaction $mobilpayTransaction)
0 ignored issues
show
Unused Code introduced by
The parameter $mobilpayTransaction is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
61
    {
62
        //
63
    }
64
}
65