/**
  * Get a cache object
  *
  * Returns the global {@link Cache} object
  *
  * @param   string  $group    The cache group name
  * @param   string  $handler  The handler to use
  * @param   string  $storage  The storage method
  *
  * @return  \Joomla\Cache\Controller object
  *
  * @see     Cache
  */
 public static function getCache($group = '', $handler = 'callback', $storage = null)
 {
     $hash = md5($group . $handler . $storage);
     if (isset(self::$cache[$hash])) {
         return self::$cache[$hash];
     }
     $handler = $handler == 'function' ? 'callback' : $handler;
     $options = array('defaultgroup' => $group);
     if (isset($storage)) {
         $options['storage'] = $storage;
     }
     $cache = Cache::getInstance($handler, $options);
     self::$cache[$hash] = $cache;
     return self::$cache[$hash];
 }