Skip to content

Commit

Permalink
Merge pull request #32 from koriym/spike
Browse files Browse the repository at this point in the history
Remove TwigErrorPageModule bindings
  • Loading branch information
koriym authored Jun 5, 2018
2 parents 8ec352b + 4880504 commit c44d81a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/TwigModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
namespace Madapaja\TwigModule;

use BEAR\Resource\RenderInterface;
use BEAR\Sunday\Extension\Error\ErrorInterface;
use Madapaja\TwigModule\Annotation\TwigLoader;
use Madapaja\TwigModule\Annotation\TwigOptions;
use Madapaja\TwigModule\Annotation\TwigPaths;
Expand Down Expand Up @@ -52,8 +51,6 @@ protected function configure()
$this->bindTwigEnvironment();
$this->bindTwigPaths();
$this->bindTwigOptions();
$this->bind(RenderInterface::class)->annotatedWith('error_page')->to(ErrorPagerRenderer::class);
$this->bind(ErrorInterface::class)->to(TwigErrorHandler::class);
}

private function bindRender()
Expand Down

0 comments on commit c44d81a

Please sign in to comment.