Skip to content

Commit

Permalink
Merge pull request #41 from sunrise-php/release/v3.14.0
Browse files Browse the repository at this point in the history
v3.14
  • Loading branch information
fenric authored Jan 30, 2025
2 parents 23d9d1f + d6da94d commit c1aa8b8
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"require-dev": {
"doctrine/annotations": "^2.0",
"myclabs/php-enum": "^1.8",
"php-di/php-di": "^6.3",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.6",
"ramsey/uuid": "^4.2",
Expand Down
20 changes: 20 additions & 0 deletions resources/definitions/hydrator.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

declare(strict_types=1);

use Sunrise\Hydrator\Hydrator;
use Sunrise\Hydrator\HydratorInterface;

use function DI\create;
use function DI\get;

return [
'hydrator.context' => [],
'hydrator.type_converters' => [],

HydratorInterface::class => create(Hydrator::class)
->constructor(
get('hydrator.context'),
get('hydrator.type_converters'),
),
];
Empty file added resources/translations/.gitkeep
Empty file.

0 comments on commit c1aa8b8

Please sign in to comment.