diff --git a/composer.lock b/composer.lock index 23dd264..41d877e 100644 --- a/composer.lock +++ b/composer.lock @@ -411,12 +411,12 @@ "source": { "type": "git", "url": "https://github.com/RRZE-Webteam/FAU-Studium-Common.git", - "reference": "d8cb53c2cf24a6f28b07109cec9bb67c1d51d743" + "reference": "059457f63e219f1fd3a0d8b3d3b063d7ea2b40db" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/RRZE-Webteam/FAU-Studium-Common/zipball/d8cb53c2cf24a6f28b07109cec9bb67c1d51d743", - "reference": "d8cb53c2cf24a6f28b07109cec9bb67c1d51d743", + "url": "https://api.github.com/repos/RRZE-Webteam/FAU-Studium-Common/zipball/059457f63e219f1fd3a0d8b3d3b063d7ea2b40db", + "reference": "059457f63e219f1fd3a0d8b3d3b063d7ea2b40db", "shasum": "" }, "require": { @@ -488,7 +488,7 @@ "source": "https://github.com/RRZE-Webteam/FAU-Studium-Common/tree/main", "issues": "https://github.com/RRZE-Webteam/FAU-Studium-Common/issues" }, - "time": "2024-07-23T13:46:52+00:00" + "time": "2024-09-04T10:07:44+00:00" }, { "name": "webmozart/assert", diff --git a/src/Infrastructure/Repository/RepositoryModule.php b/src/Infrastructure/Repository/RepositoryModule.php index a5b3263..309f7f2 100644 --- a/src/Infrastructure/Repository/RepositoryModule.php +++ b/src/Infrastructure/Repository/RepositoryModule.php @@ -15,6 +15,7 @@ use Fau\DegreeProgram\Common\Infrastructure\Repository\CampoKeysRepository; use Fau\DegreeProgram\Common\Infrastructure\Repository\FacultyRepository; use Fau\DegreeProgram\Common\Infrastructure\Repository\IdGenerator; +use Fau\DegreeProgram\Common\Infrastructure\Repository\TimestampRepository; use Fau\DegreeProgram\Common\Infrastructure\Repository\WordPressDatabaseDegreeProgramCollectionRepository; use Fau\DegreeProgram\Common\Infrastructure\Repository\WordPressDatabaseDegreeProgramRepository; use Fau\DegreeProgram\Common\Infrastructure\Repository\WordPressDatabaseDegreeProgramViewRepository; @@ -105,6 +106,7 @@ private function makeDatabaseViewRepositoryDefinition(): array return [ ConditionalFieldsFilter::class => static fn() => new ConditionalFieldsFilter(), FacultyRepository::class => static fn() => new FacultyRepository(), + TimestampRepository::class => static fn() => new TimestampRepository(), HtmlDegreeProgramSanitizer::class => static fn(): DegreeProgramSanitizer => new HtmlDegreeProgramSanitizer(), DegreeProgramRepository::class => static fn(ContainerInterface $container) => new WordPressDatabaseDegreeProgramRepository( @@ -118,6 +120,7 @@ private function makeDatabaseViewRepositoryDefinition(): array $container->get(HtmlDegreeProgramSanitizer::class), $container->get(ConditionalFieldsFilter::class), $container->get(FacultyRepository::class), + $container->get(TimestampRepository::class), ), ]; }