You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
payment/app/Helper/Efps/PayNotify.php

18 lines
270 B
PHTML

2 years ago
<?php
namespace App\Helper\Efps;
class PayNotify
{
private $params;
public function __construct($params)
{
$this->params = $params;
}
public function get($key, $default = null)
{
return $this->params[$key] ?: $default;
}
}