src/Guzzle/Service/Command/DefaultRequestSerializer.php
public function addVisitor($location, RequestVisitorInterface $visitor)
    {
        $this->factory->addRequestVisitor($location, $visitor);

        return $this;
    }
public function addVisitor($location, RequestVisitorInterface $visitor)
    {
        $this->factory->addRequestVisitor($location, $visitor);

        return $this;
    }
public function addVisitor ( $ location , RequestVisitorInterface $ visitor ) { $ this -> factory -> addRequestVisitor ( $ location , $ visitor ) ; return $ this ; }
Add a location visitor to the serializer

@param string                   $location Location to associate with the visitor
@param RequestVisitorInterface  $visitor  Visitor to attach

@return self
Add a location visitor to the serializer