public function __construct(TypeCheckInterface $keyType, TypeCheckInterface $valueType, $useMapEntries = null) { $this->keyType = $keyType; $this->valueType = $valueType; parent::__construct($useMapEntries); }