original_string: public static function getCache($cacheType = "default")
      {
          $context = getenv('ERDIKO_CONTEXT');
          $config = static::getConfig("application");
          
          if (isset($config["cache"][$cacheType])) {
              $cacheConfig = $config["cache"][$cacheType];
              $class = "erdiko\core\cache\\".$cacheConfig["type"];
              return new $class;
          } else {
              return false;
          }
      }
code: public static function getCache($cacheType = "default")
      {
          $context = getenv('ERDIKO_CONTEXT');
          $config = static::getConfig("application");
          
          if (isset($config["cache"][$cacheType])) {
              $cacheConfig = $config["cache"][$cacheType];
              $class = "erdiko\core\cache\\".$cacheConfig["type"];
              return new $class;
          } else {
              return false;
          }
      }
code_tokens: public static function getCache ( $ cacheType = "default" ) { $ context = getenv ( 'ERDIKO_CONTEXT' ) ; $ config = static :: getConfig ( "application" ) ; if ( isset ( $ config [ "cache" ] [ $ cacheType ] ) ) { $ cacheConfig = $ config [ "cache" ] [ $ cacheType ] ; $ class = "erdiko\core\cache\\" . $ cacheConfig [ "type" ] ; return new $ class ; } else { return false ; } }
docstring: Get the configured cache instance using name
  
  @return cache $cache returns the instance of the cache type
docstring_tokens: Get the configured cache instance using name