src/Assetter/Assetter.php
public function registerPlugin(PluginInterface $plugin)
    {
        $plugin->register($this);

        $this->plugins[] = $plugin;

        return $this;
    }
public function registerPlugin(PluginInterface $plugin)
    {
        $plugin->register($this);

        $this->plugins[] = $plugin;

        return $this;
    }
public function registerPlugin ( PluginInterface $ plugin ) { $ plugin -> register ( $ this ) ; $ this -> plugins [ ] = $ plugin ; return $ this ; }
Registers plugin and add to list.
@param  PluginInterface $plugin PluginInterface object.
@return self
Registers plugin and add to list .