Я хотел создать собственный драйвер кеша с помощью aerospike.
Я следовал инструкции, приведенной в документе:
https://laravel.com/docs/5.8/cache#adding-custom-cache-drivers
Cache::extend('aerospike', function ($app) {
$config = $app['config'];
$server = $config['cache.stores.aerospike.servers'];
$aerospike = new \Aerospike($server);
$store = new AerospikeStore($aerospike, $config['cache.prefix'], $config['cache.stores.aerospike.namespace']);
return Cache::repository($store);
});
также созданфайл AerospikeStore.
При запуске php artisan serve
всегда говорится:
В строке CacheManager.php 109:
Драйвер [aerospike] не поддерживается.