* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Pretends messages have been sent, but just ignores them. * * @author Fabien Potencier */ class NewsletterPro_Swift_NullTransport extends NewsletterPro_Swift_Transport_NullTransport { /** * Create a new NullTransport. */ public function __construct() { call_user_func_array( array($this, 'NewsletterPro_Swift_Transport_NullTransport::__construct'), NewsletterPro_Swift_DependencyContainer::getInstance() ->createDependenciesFor('transport.null') ); } /** * Create a new NullTransport instance. * * @return NewsletterPro_Swift_NullTransport */ public static function newInstance() { return new self(); } }