dimanche 1 novembre 2015

LARAVEL add custom method Illuminate\Cache\RedisStore

I want to extend Illuminate\Cache\RedisStore class to add a custom method where i can use JSON_encode instead of PHP Serializer before sending the data to cache servers.

I tried extending both the Redis and Cache Facades then registering the alias in App.php to load the extended facade on bootstrapping.But getting the error RedisStore doesn't implement this method.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1PdUDXQ
via IFTTT

Aucun commentaire:

Enregistrer un commentaire