public function init(array $params)
    {
        if ($this->config->bowerFileExists()) {
            $bowerJson = $this->config->getBowerFileContent();
            $this->config->setSaveToBowerJsonFile();
            $this->config->updateBowerJsonFile2($bowerJson, $params);
        } else {
            $this->config->initBowerJsonFile($params);
        }
    }
public function init(array $params)
    {
        if ($this->config->bowerFileExists()) {
            $bowerJson = $this->config->getBowerFileContent();
            $this->config->setSaveToBowerJsonFile();
            $this->config->updateBowerJsonFile2($bowerJson, $params);
        } else {
            $this->config->initBowerJsonFile($params);
        }
    }
public function init ( array $ params ) { if ( $ this -> config -> bowerFileExists ( ) ) { $ bowerJson = $ this -> config -> getBowerFileContent ( ) ; $ this -> config -> setSaveToBowerJsonFile ( ) ; $ this -> config -> updateBowerJsonFile2 ( $ bowerJson , $ params ) ; } else { $ this -> config -> initBowerJsonFile ( $ params ) ; } }
Init bower.json

@param array $params
Init bower . json