src-dev/Mouf/Installer/ComposerInstaller.php
private function findInstallTaskFromArray(array $array) {
		$installTasks = $this->getInstallTasks();
		foreach ($installTasks as $installTask) {
			if ($installTask->matchesPackage($array)) {
				return $installTask;
			}
		}
		
		throw new MoufException("Unable to find install task in matching array passed in parameter.");
	}
private function findInstallTaskFromArray(array $array) {
		$installTasks = $this->getInstallTasks();
		foreach ($installTasks as $installTask) {
			if ($installTask->matchesPackage($array)) {
				return $installTask;
			}
		}
		
		throw new MoufException("Unable to find install task in matching array passed in parameter.");
	}
private function findInstallTaskFromArray ( array $ array ) { $ installTasks = $ this -> getInstallTasks ( ) ; foreach ( $ installTasks as $ installTask ) { if ( $ installTask -> matchesPackage ( $ array ) ) { return $ installTask ; } } throw new MoufException ( "Unable to find install task in matching array passed in parameter." ) ; }
Finds the InstallTask from the array representing it.
@param array $array
@return AbstractInstallTask
Finds the InstallTask from the array representing it .