Completed
Push — master ( 4978e4...f819c1 )
by Stephen
01:03
created

PaystackLite::api()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Stephenjude\PaystackLite;
4
5
use Xeviant\LaravelPaystack\Paystack;
6
7
class PaystackLite extends Paystack
8
{
9
    private $paystack;
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
10
11
    public function __construct()
12
    {
13
        parent::__construct();
14
        
15
        $this->paystack = app()->make('xeviant.paystack');
16
    }
17
18
    public function api()
19
    {
20
        return $this->paystack;
21
    }
22
}
23