__construct() public method

Create a new SpoolTransport.
public __construct ( Swift_Spool $spool )
$spool Swift_Spool
 /**
  * Constructor.
  *
  * @param array $configuration System mail configuration.
  */
 public function __construct(array $configuration)
 {
     $this->configuration = $configuration;
     $spool = $this->getSpoolFactory()->get($configuration);
     parent::__construct($spool);
 }