public function setComposerConfiguration(array $configuration)
    {
        $this->composerJsonLoaded = true;
        $this->composerJson = null;
        $this->composerJson = $configuration;

        return $this->composerJson;
    }
public function setComposerConfiguration(array $configuration)
    {
        $this->composerJsonLoaded = true;
        $this->composerJson = null;
        $this->composerJson = $configuration;

        return $this->composerJson;
    }
public function setComposerConfiguration ( array $ configuration ) { $ this -> composerJsonLoaded = true ; $ this -> composerJson = null ; $ this -> composerJson = $ configuration ; return $ this -> composerJson ; }
This allows write access to the composer config, allowing simulation of this feature
even if the extension doesn't have a physical composer.json file.

@param array $configuration

@return array
This allows write access to the composer config allowing simulation of this feature even if the extension doesn t have a physical composer . json file .