public static function get($key) {
        return self::has($key) ? self::decode($_COOKIE[$key]) : NULL;
    }
public static function get($key) {
        return self::has($key) ? self::decode($_COOKIE[$key]) : NULL;
    }
public static function get ( $ key ) { return self :: has ( $ key ) ? self :: decode ( $ _COOKIE [ $ key ] ) : NULL ; }
Gets data from cookie by given key

@param string $key
@return mixed
Gets data from cookie by given key