HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: /var/www/Gosurya/wp/wp-content/plugins/easy-wp-smtp/src/ConnectionInterface.php
<?php

namespace EasyWPSMTP;

use EasyWPSMTP\Providers\MailerAbstract;

/**
 * Interface ConnectionInterface.
 *
 * @since 2.0.0
 */
interface ConnectionInterface {

	/**
	 * Get the connection identifier.
	 *
	 * @since 2.0.0
	 *
	 * @return string
	 */
	public function get_id();

	/**
	 * Get the connection name.
	 *
	 * @since 2.0.0
	 *
	 * @return string
	 */
	public function get_name();

	/**
	 * Get the connection title. Includes mailer name.
	 *
	 * @since 2.0.0
	 *
	 * @return string
	 */
	public function get_title();

	/**
	 * Get connection mailer slug.
	 *
	 * @since 2.0.0
	 *
	 * @return string
	 */
	public function get_mailer_slug();

	/**
	 * Get connection mailer object.
	 *
	 * @since 2.0.0
	 *
	 * @return MailerAbstract
	 */
	public function get_mailer();

	/**
	 * Get connection options object.
	 *
	 * @since 2.0.0
	 *
	 * @return Options
	 */
	public function get_options();

	/**
	 * Whether the connection is primary or not.
	 *
	 * @since 2.0.0
	 *
	 * @return bool
	 */
	public function is_primary();
}