/**
  * @param $id
  * @param $instance
  */
 public function __construct($id, $instance)
 {
     parent::__construct($id);
     $this->setInstance($instance);
 }
 /**
  * @param       $id
  * @param array $params
  *
  */
 public function __construct($id, $params = [])
 {
     parent::__construct($id);
     $this->setParams($params);
 }
 /**
  * @param $id
  * @param $class
  */
 public function __construct($id, $class)
 {
     parent::__construct($id);
     $this->setters = new Collection();
     $this->setClass($class);
 }