public function addConfigurationSection(SupraPackageInterface $package, $data)
	{
		$overrides = $this->getConfigurationOverrides();

		if (isset($overrides[$package->getName()])) {
			$processor = new Processor();

			$data = $processor->processConfiguration($package->getConfiguration(), array(
				$data,
				$overrides[$package->getName()]
			));
		}

		$this->configurationSections[$package->getName()] = array(
			'package' => $package,
			'data' => $data
		);

		return $data;
	}
public function addConfigurationSection(SupraPackageInterface $package, $data)
	{
		$overrides = $this->getConfigurationOverrides();

		if (isset($overrides[$package->getName()])) {
			$processor = new Processor();

			$data = $processor->processConfiguration($package->getConfiguration(), array(
				$data,
				$overrides[$package->getName()]
			));
		}

		$this->configurationSections[$package->getName()] = array(
			'package' => $package,
			'data' => $data
		);

		return $data;
	}
public function addConfigurationSection ( SupraPackageInterface $ package , $ data ) { $ overrides = $ this -> getConfigurationOverrides ( ) ; if ( isset ( $ overrides [ $ package -> getName ( ) ] ) ) { $ processor = new Processor ( ) ; $ data = $ processor -> processConfiguration ( $ package -> getConfiguration ( ) , array ( $ data , $ overrides [ $ package -> getName ( ) ] ) ) ; } $ this -> configurationSections [ $ package -> getName ( ) ] = array ( 'package' => $ package , 'data' => $ data ) ; return $ data ; }
Adds configuration section for later processing

@param SupraPackageInterface $package
@param $data
Adds configuration section for later processing