public function __construct(AttributeType $value) { if (!$value instanceof AddDoubleType) { throw new \Exception("value {$value} not allowed, should be of type AddDoubleType"); } parent::__construct($value); }
public function __construct(AspectType $value) { parent::__construct($value); }
public function __construct(DoubleType $value) { parent::__construct($value); }
public function __construct(ArrowType $value) { parent::__construct($value); }