Skip to content

Commit

Permalink
remove boot, update register for the provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Anderson committed Sep 9, 2015
1 parent 6908766 commit 56db2d4
Showing 1 changed file with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,14 @@ class LaravelCybersourceServiceProvider extends ServiceProvider {
*/
protected $defer = true;

/**
* Bootstrap the application events.
*
* @return void
*/
public function boot()
{
$namespace = 'laravel-cybersource';
$path = __DIR__ . '/../../..';
$this->package('credibility/laravel-cybersource', $namespace, $path);
}

/**
* Register the service provider.
*
* @return void
*/
public function register()
{
$this->app->bind('cybersource', function($app) {
$this->app->bind('Credibility\LaravelCybersource\Cybersource', function($app) {
$client = new SOAPClient($app);
$factory = new SOAPClientFactory($app);
$requester = new SOAPRequester($client, $app, $factory);
Expand Down

0 comments on commit 56db2d4

Please sign in to comment.