Skip to content

Commit 777408c

Browse files
committed
feature #27 Extend from the ResetInterface (fionera)
This PR was squashed before being merged into the master branch (closes #27). Discussion ---------- Extend from the ResetInterface This way the Container automaticly resets the returnedFile array and this hack is obsolete php-pm/php-pm-httpkernel#151 Commits ------- 2b244da Add Symfony Contracts Dependency 85f21a0 Extend from the ResetInterface
2 parents 28b2636 + 2b244da commit 777408c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"symfony/asset": "^3.4 || ^4.0",
2525
"symfony/config": "^3.4 || ^4.0",
2626
"symfony/dependency-injection": "^3.4 || ^4.0",
27-
"symfony/http-kernel": "^3.4 || ^4.0"
27+
"symfony/http-kernel": "^3.4 || ^4.0",
28+
"symfony/contracts": "^1.0"
2829
},
2930
"require-dev": {
3031
"friendsofphp/php-cs-fixer": "^2.13",

src/Asset/EntrypointLookupInterface.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99

1010
namespace Symfony\WebpackEncoreBundle\Asset;
1111

12+
use Symfony\Contracts\Service\ResetInterface;
1213
use Symfony\WebpackEncoreBundle\Exception\EntrypointNotFoundException;
1314

14-
interface EntrypointLookupInterface
15+
interface EntrypointLookupInterface extends ResetInterface
1516
{
1617
/**
1718
* @throws EntrypointNotFoundException if an entry name is passed that does not exist in entrypoints.json

0 commit comments

Comments
 (0)