title: Add solution cache file with redis [phalcon, php7.4-redis]
body: <p>$di['cache'] = function () use ($di, $config) {</p>
  <pre><code>$serializerFactory = new \Phalcon\Storage\SerializerFactory();
  $adapterFactory = new \Phalcon\Cache\AdapterFactory($serializerFactory);
  
  $frontend = $adapterFactory-&gt;newInstance('apcu', [
      'defaultSerializer' =&gt; 'Json',
      'lifetime'          =&gt; 7200
  ]);
  
  
  $options = array(
      'redis' =&gt; $di['redis'],
      'prefix' =&gt; $config-&gt;session-&gt;name.':'
  );
  
  
  $cache = new \Phalcon\Cache\Adapter\Redis($frontend, $options);
  
  return $cache;
  </code></pre>
  <p>};</p>
  <p>error ==&gt; TypeError: Argument 1 passed to Phalcon\Storage\Adapter\Redis::__construct() must be an instance of Phalcon\Storage\SerializerFactory, instance of Phalcon\Cache\Adapter\Apcu given</p>