src/Snowfire/Mail/PostmarkServiceProvider.php
protected function registerPostmarkMailer()
    {
        $postmark = $this->app['config']->get('services.postmark', []);

        $this->app->singleton('swift.mailer', function ($app) use ($postmark) {
            return new Swift_Mailer(
                new Swift_PostmarkTransport($postmark['api_key'])
            );
        });
    }
protected function registerPostmarkMailer()
    {
        $postmark = $this->app['config']->get('services.postmark', []);

        $this->app->singleton('swift.mailer', function ($app) use ($postmark) {
            return new Swift_Mailer(
                new Swift_PostmarkTransport($postmark['api_key'])
            );
        });
    }
protected function registerPostmarkMailer ( ) { $ postmark = $ this -> app [ 'config' ] -> get ( 'services.postmark' , [ ] ) ; $ this -> app -> singleton ( 'swift.mailer' , function ( $ app ) use ( $ postmark ) { return new Swift_Mailer ( new Swift_PostmarkTransport ( $ postmark [ 'api_key' ] ) ) ; } ) ; }
Register the Postmark Swift Mailer.

@return void
Register the Postmark Swift Mailer .