for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @link https://github.com/phpviet/omnipay-onepay
*
* @copyright (c) PHP Viet
* @license [MIT](https://opensource.org/licenses/MIT)
*/
namespace Omnipay\OnePay;
use Omnipay\Common\AbstractGateway as BaseAbstractGateway;
* @author Vuong Minh <[email protected]>
* @since 1.0.0
abstract class AbstractGateway extends BaseAbstractGateway
{
use Concerns\Parameters;
use Concerns\ParametersNormalization;
* {@inheritdoc}
public function initialize(array $parameters = [])
return parent::initialize(
$this->normalizeParameters($parameters)
);
}
public function getDefaultParameters(): array
return [
'vpc_Version' => 2,
];