plugins/payment/classes/yf_payment_api__provider_test.class.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

_class('payment_api__provider');

class yf_payment_api__provider_test extends yf_payment_api__provider
{
    public $IS_DEPOSITION = true;
    // public $IS_PAYMENT    = true;

    public $service_allow = [
        'Тест',
    ];

    public function _init()
    {
        if ( ! $this->ENABLE) {
            return  null;
        }
        // ( defined( 'TEST_MODE' ) && TEST_MODE ) && $allow = true;
        // $allow = $this->allow( $allow );
        $allow = $this->allow();
        if ( ! $allow) {
            return  false;
        }
        parent::_init();
    }
}