implement DI

This commit is contained in:
Vaidas Lungis committed 2015-01-12 19:32:22 +02:00
1 parent ef18a0073e
commit d91d84fcab
1 file changed
+22 -1
+22 -1
View File
@@ -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')) {