Skip to content

Commit

Permalink
remove legacy code
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Wilgucki committed Jan 26, 2017
1 parent 340a599 commit c9f467b
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions src/CsvServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,9 @@ public function register()
return new Writer();
});

$this->app['command.csv.import'] = $this->app->share(
function ($app) {
return new Import();
}
);

$this->app['command.csv.export'] = $this->app->share(
function ($app) {
return new Export();
}
);

$this->commands('command.csv.import');
$this->commands('command.csv.export');
$this->commands([
Import::class,
Export::class,
]);
}
}

0 comments on commit c9f467b

Please sign in to comment.