Skip to content

Commit c44d81a

Browse files
authored
Merge pull request #32 from koriym/spike
Remove TwigErrorPageModule bindings
2 parents 8ec352b + 4880504 commit c44d81a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/TwigModule.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
namespace Madapaja\TwigModule;
88

99
use BEAR\Resource\RenderInterface;
10-
use BEAR\Sunday\Extension\Error\ErrorInterface;
1110
use Madapaja\TwigModule\Annotation\TwigLoader;
1211
use Madapaja\TwigModule\Annotation\TwigOptions;
1312
use Madapaja\TwigModule\Annotation\TwigPaths;
@@ -52,8 +51,6 @@ protected function configure()
5251
$this->bindTwigEnvironment();
5352
$this->bindTwigPaths();
5453
$this->bindTwigOptions();
55-
$this->bind(RenderInterface::class)->annotatedWith('error_page')->to(ErrorPagerRenderer::class);
56-
$this->bind(ErrorInterface::class)->to(TwigErrorHandler::class);
5754
}
5855

5956
private function bindRender()

0 commit comments

Comments
 (0)