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\Module\Cache;
use Doctrine\Common\Cache\ArrayCache;
use Doctrine\Common\Cache\Cache;
use Ray\Di\AbstractModule;
use Ray\Di\Scope;
class DoctrineCacheModule extends AbstractModule
{
* {@inheritdoc}
protected function configure()
$this->bind(Cache::class)->to(ArrayCache::class)->in(Scope::SINGLETON);
}