Skip to content

Commit

Permalink
Added alias for ExporterInterface (#621)
Browse files Browse the repository at this point in the history
Co-authored-by: Pavel Kameisha <[email protected]>
  • Loading branch information
pkameisha and pkameisha authored Jan 2, 2023
1 parent 6b01743 commit 4cbed24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Bridge/Symfony/Resources/config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

use PhpOffice\PhpSpreadsheet\Spreadsheet;
use Sonata\Exporter\Exporter;
use Sonata\Exporter\ExporterInterface;
use Sonata\Exporter\Writer\CsvWriter;
use Sonata\Exporter\Writer\JsonWriter;
use Sonata\Exporter\Writer\XlsWriter;
Expand Down Expand Up @@ -65,4 +66,5 @@
->public();

$services->alias(Exporter::class, 'sonata.exporter.exporter');
$services->alias(ExporterInterface::class, 'sonata.exporter.exporter');
};

0 comments on commit 4cbed24

Please sign in to comment.