public function registerPlugins()
    {
        foreach($this->activePlugins() as $plugin){
            $className = $plugin->parseNamespace()."\\Plugin";
            if(class_exists($className)) {
                $pluginInstance = new $className();
                if ($plugin->isActive() && method_exists($pluginInstance, 'register')) {
                    $pluginInstance->register();
                    $this->registeredPlugins[] = $plugin;
                }
            }
        }
        return;
    }
public function registerPlugins()
    {
        foreach($this->activePlugins() as $plugin){
            $className = $plugin->parseNamespace()."\\Plugin";
            if(class_exists($className)) {
                $pluginInstance = new $className();
                if ($plugin->isActive() && method_exists($pluginInstance, 'register')) {
                    $pluginInstance->register();
                    $this->registeredPlugins[] = $plugin;
                }
            }
        }
        return;
    }
public function registerPlugins ( ) { foreach ( $ this -> activePlugins ( ) as $ plugin ) { $ className = $ plugin -> parseNamespace ( ) . "\\Plugin" ; if ( class_exists ( $ className ) ) { $ pluginInstance = new $ className ( ) ; if ( $ plugin -> isActive ( ) && method_exists ( $ pluginInstance , 'register' ) ) { $ pluginInstance -> register ( ) ; $ this -> registeredPlugins [ ] = $ plugin ; } } } return ; }
Register all active plugins.

@return void
Register all active plugins .