src/Sulu/Bundle/AdminBundle/Admin/JsConfigPool.php
public function addConfigParams(JsConfigInterface $params)
    {
        $this->pool = array_merge($this->pool, [$params->getName() => $params->getParameters()]);
    }
public function addConfigParams(JsConfigInterface $params)
    {
        $this->pool = array_merge($this->pool, [$params->getName() => $params->getParameters()]);
    }
public function addConfigParams ( JsConfigInterface $ params ) { $ this -> pool = array_merge ( $ this -> pool , [ $ params -> getName ( ) => $ params -> getParameters ( ) ] ) ; }
Adds a new config parameter.

@param $params
Adds a new config parameter .