Skip to content

Commit

Permalink
Mapeia service
Browse files Browse the repository at this point in the history
  • Loading branch information
edineivaldameri committed Jan 21, 2025
1 parent 4f357f6 commit 6886293
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Services/ImportServiceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use iEducar\Packages\Educacenso\Services\Version2021\ImportService as ImportService2021;
use iEducar\Packages\Educacenso\Services\Version2022\ImportService as ImportService2022;
use iEducar\Packages\Educacenso\Services\Version2023\ImportService as ImportService2023;
use iEducar\Packages\Educacenso\Services\Version2024\ImportService as ImportService2024;

class ImportServiceFactory
{
Expand Down Expand Up @@ -43,6 +44,7 @@ private static function getClassByYear($year)
2021 => ImportService2021::class,
2022 => ImportService2022::class,
2023 => ImportService2023::class,
2024 => ImportService2024::class,
];

if (isset($imports[$year])) {
Expand Down

0 comments on commit 6886293

Please sign in to comment.