Payment::getFacadeAccessor()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Shetabit\Payment\Facade;
4
5
use Illuminate\Support\Facades\Facade;
6
use Shetabit\Multipay\Invoice;
7
use Shetabit\Multipay\Contracts\ReceiptInterface;
8
use Shetabit\Multipay\Payment as MultipayPayment;
9
10
/**
11
 * Class Payment
12
 *
13
 * @method static MultipayPayment config($key, $value = null)
14
 * @method static MultipayPayment callbackUrl($url = null)
15
 * @method static MultipayPayment resetCallbackUrl()
16
 * @method static MultipayPayment amount($amount)
17
 * @method static MultipayPayment detail($key, $value = null)
18
 * @method static MultipayPayment transactionId($id)
19
 * @method static MultipayPayment via($driver)
20
 * @method static MultipayPayment purchase(Invoice $invoice = null, $finalizeCallback = null)
21
 * @method static mixed pay($initializeCallback = null)
22
 * @method static ReceiptInterface verify($finalizeCallback = null)
23
 *
24
 * @package Shetabit\Payment\Facade
25
 * @see \Shetabit\Multipay\Payment
26
 */
27
class Payment extends Facade
28
{
29
    /**
30
     * Get the registered name of the component.
31
     *
32
     * @return string
33
     */
34
    public static function getFacadeAccessor()
35
    {
36
        return 'shetabit-payment';
37
    }
38
}
39