protected function queryTransport()
	{
		if ( $this->mailer && method_exists( $this->mailer, 'isPretending' ) && $this->mailer->isPretending() )
		{
			return null;
		}

		$transport = $this->getSwiftMailerTransport();

		if ( !$transport || !is_a( $transport, '\Swift_Transport_AbstractSmtpTransport' ) )
		{
			return null;
		}

		return $transport;
	}
protected function queryTransport()
	{
		if ( $this->mailer && method_exists( $this->mailer, 'isPretending' ) && $this->mailer->isPretending() )
		{
			return null;
		}

		$transport = $this->getSwiftMailerTransport();

		if ( !$transport || !is_a( $transport, '\Swift_Transport_AbstractSmtpTransport' ) )
		{
			return null;
		}

		return $transport;
	}
protected function queryTransport ( ) { if ( $ this -> mailer && method_exists ( $ this -> mailer , 'isPretending' ) && $ this -> mailer -> isPretending ( ) ) { return null ; } $ transport = $ this -> getSwiftMailerTransport ( ) ; if ( ! $ transport || ! is_a ( $ transport , '\Swift_Transport_AbstractSmtpTransport' ) ) { return null ; } return $ transport ; }
Query correct transport object

@return \Swift_Transport|null
Query correct transport object