code: public function createCacheForDevMode(CacheRecorder $recorder, Environment $env) : CacheProvider
      {
          return new ProfilingCacheDecorator(
              $this->createCache($env), // TODO: we need service decorators so we can avoid the hard call to createCache here
              $recorder
          );
      }
docs: @Di\Service("cache")
  @Di\Apply\IfConfig("env.devMode")
  
  @param CacheRecorder $recorder
  @param Environment   $env
  
  @return CacheProvider