public function add_shared_data($key, $value = null)
    {
        if (\is_array($key)) {
            static::$global_data = \array_merge(static::$global_data, $key);
            return;
        }

        static::$global_data[ $key ] = $value;
    }