public function load()
    {
        static::$loaded = true;
        
        $container = $this->getContainer();
        
        if($container){
            $config = $container->get('config');
            $events = $config['plugin-manager'];
            foreach($events as $event => $plugins){
                foreach($plugins as $type => $plugin){
                    $this->attach($event, $plugin, $plugin->Priority);
                }
            }
        }
        
        return true;
    }