for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Jlis\Judge\Adapters;
use Illuminate\Support\Facades\Cache;
/**
* @author Julius Ehrlich <[email protected]>
*/
class CacheAdapter implements AdapterInterface
{
const KEY_FEATURES = 'judge:features';
const KEY_VALUES = 'judge:values';
* {@inheritdoc}
public function getFeatures()
return Cache::get(self::KEY_FEATURES, []);
}
public function getValues()
return Cache::get(self::KEY_VALUES, []);