lib/classes/Swift/Transport/EsmtpTransport.php
public function setExtensionHandlers(array $handlers)
    {
        $assoc = [];
        foreach ($handlers as $handler) {
            $assoc[$handler->getHandledKeyword()] = $handler;
        }
        uasort($assoc, function ($a, $b) {
            return $a->getPriorityOver($b->getHandledKeyword());
        });
        $this->handlers = $assoc;
        $this->setHandlerParams();

        return $this;
    }
public function setExtensionHandlers(array $handlers)
    {
        $assoc = [];
        foreach ($handlers as $handler) {
            $assoc[$handler->getHandledKeyword()] = $handler;
        }
        uasort($assoc, function ($a, $b) {
            return $a->getPriorityOver($b->getHandledKeyword());
        });
        $this->handlers = $assoc;
        $this->setHandlerParams();

        return $this;
    }
public function setExtensionHandlers ( array $ handlers ) { $ assoc = [ ] ; foreach ( $ handlers as $ handler ) { $ assoc [ $ handler -> getHandledKeyword ( ) ] = $ handler ; } uasort ( $ assoc , function ( $ a , $ b ) { return $ a -> getPriorityOver ( $ b -> getHandledKeyword ( ) ) ; } ) ; $ this -> handlers = $ assoc ; $ this -> setHandlerParams ( ) ; return $ this ; }
Set ESMTP extension handlers.

@param Swift_Transport_EsmtpHandler[] $handlers

@return $this
Set ESMTP extension handlers .