From 6520fc50aa760aed8082beebbd5d6853427fa225 Mon Sep 17 00:00:00 2001 From: 4Giedrius <4giedrius@gmail.com> Date: Mon, 12 Jan 2015 17:59:25 +0200 Subject: [PATCH] DI added to Youhosting service --- src/bb-modules/Serviceyouhosting/Service.php | 23 ++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/bb-modules/Serviceyouhosting/Service.php b/src/bb-modules/Serviceyouhosting/Service.php index a82a21cbc..e8efb9a53 100644 --- a/src/bb-modules/Serviceyouhosting/Service.php +++ b/src/bb-modules/Serviceyouhosting/Service.php @@ -11,9 +11,28 @@ */ namespace Box\Mod\Serviceyouhosting; -class Service +class Service implements \Box\InjectionAwareInterface { - public $mod = null; + + protected $di; + + /** + * @param mixed $di + */ + public function setDi($di) + { + $this->di = $di; + } + + /** + * @return mixed + */ + public function getDi() + { + return $this->di; + } + + public $mod = null; public $api_admin = null; public function __construct()