public static function get($name)
    {
        $registry = static::getRegistry();

        if (isset($registry->{$name})) {
            return $registry->{$name};
        }

        static::_buildTransport($name);

        return $registry->{$name};
    }
public static function get($name)
    {
        $registry = static::getRegistry();

        if (isset($registry->{$name})) {
            return $registry->{$name};
        }

        static::_buildTransport($name);

        return $registry->{$name};
    }
public static function get ( $ name ) { $ registry = static :: getRegistry ( ) ; if ( isset ( $ registry -> { $ name } ) ) { return $ registry -> { $ name } ; } static :: _buildTransport ( $ name ) ; return $ registry -> { $ name } ; }
Get transport instance.

@param string $name Config name.
@return \Cake\Mailer\AbstractTransport
Get transport instance .