Swift_Transport_EsmtpTransport::getActiveHandlers PHP Method

getActiveHandlers() private method

Get ESMTP handlers which are currently ok to use
private getActiveHandlers ( )
    private function getActiveHandlers()
    {
        $handlers = array();
        foreach ($this->handlers as $keyword => $handler) {
            if (array_key_exists($keyword, $this->capabilities)) {
                $handlers[] = $handler;
            }
        }
        return $handlers;
    }