/**
  * @param string $boxableType name of an IBoxable class
  * @param DBType $dbType type to use to store the value
  */
 function __construct($boxableType, DBType $dbType)
 {
     Assert::isTrue(TypeUtils::isInherits($boxableType, 'IBoxable'));
     $this->boxableType = $boxableType;
     $this->dbType = $dbType;
     parent::__construct($dbType);
 }
 /**
  * @param DBType $type
  */
 function __construct(DBType $type)
 {
     $this->type = $type;
     parent::__construct($type);
 }