예제 #1
0
 /**
  * @param IConfig $EntityConfig
  * @param Db      $Db
  * @param Sql     $Sql
  */
 public function __construct(IConfig $EntityConfig, Db $Db, Sql $Sql)
 {
     parent::__construct($EntityConfig);
     $this->db = $Db;
     $this->sql = $Sql;
 }
예제 #2
0
 /**
  * @param IConfig $EntityConfig
  * @param Cache   $Cache
  */
 public function __construct(IConfig $EntityConfig, Cache $Cache)
 {
     parent::__construct($EntityConfig);
     $this->cache = $Cache;
 }