src/Phpro/SoapClient/Soap/TypeConverter/TypeConverterCollection.php
/**
     * Add a type converter to the collection
     *
     * @param TypeConverterInterface $converter Type converter
     *
     * @return TypeConverterCollection
     * @throws InvalidArgumentException
     */
Add a type converter to the collection
@param TypeConverterInterface $converter Type converter


Add a type converter to the collection @param TypeConverterInterface $converter Type converter
public function add(TypeConverterInterface $converter): self
    {
        if ($this->has($converter)) {
            throw new InvalidArgumentException(
                'Converter for this type already exists'
            );
        }
        return $this->set($converter);
    }
public function add ( TypeConverterInterface $ converter ) : self { if ( $ this -> has ( $ converter ) ) { throw new InvalidArgumentException ( 'Converter for this type already exists' ) ; } return $ this -> set ( $ converter ) ; }
Add a type converter to the collection
 @param TypeConverterInterface $converter Type converter
Add a type converter to the collection @param TypeConverterInterface $converter Type converter