src/PartResolverRegistry.php
public function addResolver(EmailPartResolver $resolver, $part): self
    {
        $this->resolvers[$part] = $resolver;

        return $this;
    }
public function addResolver(EmailPartResolver $resolver, $part): self
    {
        $this->resolvers[$part] = $resolver;

        return $this;
    }
public function addResolver ( EmailPartResolver $ resolver , $ part ) : self { $ this -> resolvers [ $ part ] = $ resolver ; return $ this ; }
Add Resolver.

@param EmailPartResolver $resolver
@param string $part

@return self
Add Resolver .