TYPO3  7.6
SpoolTransport.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of SwiftMailer.
5  * (c) 2009 Fabien Potencier <fabien.potencier@gmail.com>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10 
17 {
23  public function __construct(Swift_Spool $spool)
24  {
26  ->createDependenciesFor('transport.spool');
27 
28  $arguments[] = $spool;
29 
30  call_user_func_array(
31  array($this, 'Swift_Transport_SpoolTransport::__construct'),
32  $arguments
33  );
34  }
35 
43  public static function newInstance(Swift_Spool $spool)
44  {
45  return new self($spool);
46  }
47 }