for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the BEAR.Sunday package
*
* @license http://opensource.org/licenses/MIT MIT
*/
namespace BEAR\Sunday\Provide\Representation;
use BEAR\Resource\JsonRenderer;
use BEAR\Resource\RenderInterface;
use Ray\Di\AbstractModule;
use Ray\Di\Scope;
class RepresentationModule extends AbstractModule
{
* {@inheritdoc}
protected function configure()
$this->bind(RenderInterface::class)->to(JsonRenderer::class)->in(Scope::SINGLETON);
}