protected function loadBundle($name, $config = [], $publish = true)
    {
        if (!isset($config['class'])) {
            $config['class'] = $name;
        }
        /* @var $bundle AssetBundle */
        $bundle = Reaction::create($config);
        if ($publish) {
            $bundle->publish($this);
        }

        return $bundle;
    }