protected function processPlugins($plugins, $dir)
    {
        foreach ($plugins as $plugin) {
            $this->addPlugin($plugin, $dir);
        }
    }
protected function processPlugins($plugins, $dir)
    {
        foreach ($plugins as $plugin) {
            $this->addPlugin($plugin, $dir);
        }
    }
protected function processPlugins ( $ plugins , $ dir ) { foreach ( $ plugins as $ plugin ) { $ this -> addPlugin ( $ plugin , $ dir ) ; } }
Processes plugin definitions

@param array $plugins
@param string $dir
@return void
Processes plugin definitions