Esempio n. 1
0
 /**
  * Construct data key 
  * 
  * @param mixed $key Key
  *  
  * @return string
  */
 protected static function constructDataKey($key)
 {
     if (true === $key) {
         $key = \Includes\Decorator\Utils\CacheManager::isCapsular() ? \Includes\Decorator\Utils\CacheManager::getkey() : '_';
     } elseif (false === $key) {
         $key = '_';
     }
     return $key;
 }