public function register(array $collection)
    {
        foreach ($collection as $name => $data) {
            $this->plugins[$name] = $data;
        }

        return $this;
    }
public function register(array $collection)
    {
        foreach ($collection as $name => $data) {
            $this->plugins[$name] = $data;
        }

        return $this;
    }
public function register ( array $ collection ) { foreach ( $ collection as $ name => $ data ) { $ this -> plugins [ $ name ] = $ data ; } return $ this ; }
Registers plugin collection

@return \Krystal\Application\View\PluginBag
Registers plugin collection