mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-21 20:34:57 +09:00
implement DI
This commit is contained in:
1 parent
ef18a0073e
commit
d91d84fcab
1 file changed
+22
-1
@@ -10,8 +10,29 @@
|
||||
* with this source code in the file LICENSE
|
||||
*/
|
||||
|
||||
class Payment_Adapter_Interkassa extends Payment_AdapterAbstract
|
||||
class Payment_Adapter_Interkassa extends Payment_AdapterAbstract implements \Box\InjectionAwareInterface
|
||||
{
|
||||
/**
|
||||
* @var Box_Di
|
||||
*/
|
||||
protected $di;
|
||||
|
||||
/**
|
||||
* @param Box_Di $di
|
||||
*/
|
||||
public function setDi($di)
|
||||
{
|
||||
$this->di = $di;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Box_Di
|
||||
*/
|
||||
public function getDi()
|
||||
{
|
||||
return $this->di;
|
||||
}
|
||||
|
||||
public function init()
|
||||
{
|
||||
if(!$this->getParam('ik_co_id')) {
|
||||
|
||||
Reference in new issue
Block a user