interface TransportFactoryInterface in Swift Mailer 8
Same name and namespace in other branches
- 8.2 src/TransportFactoryInterface.php \Drupal\swiftmailer\TransportFactoryInterface
An interface for transport factory services.
Hierarchy
- interface \Drupal\swiftmailer\TransportFactoryInterface
Expanded class hierarchy of TransportFactoryInterface
All classes that implement TransportFactoryInterface
1 file declares its use of TransportFactoryInterface
- SwiftMailer.php in src/
Plugin/ Mail/ SwiftMailer.php
File
- src/
TransportFactoryInterface.php, line 8
Namespace
Drupal\swiftmailerView source
interface TransportFactoryInterface {
/**
* Returns the transport type configured as default.
*
* @return string
* The configured transport method.
*/
public function getDefaultTransportMethod();
/**
* Instantiates a transport object of the specified type.
*
* @param string $transport_type
* The type of transform to instantiate.
*
* @return \Swift_Transport
* A new instance of the specified transport type.
*/
public function getTransport($transport_type);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TransportFactoryInterface:: |
public | function | Returns the transport type configured as default. | 1 |
TransportFactoryInterface:: |
public | function | Instantiates a transport object of the specified type. | 1 |