lib/private/App/DependencyAnalyzer.php
/**
	 * @param array $app
	 * @returns array of missing dependencies
	 */
@param array $app
@returns array of missing dependencies
@param array $app @returns array of missing dependencies
public function analyze(array $app) {
		$this->appInfo = $app;
		if (isset($app['dependencies'])) {
			$dependencies = $app['dependencies'];
		} else {
			$dependencies = [];
		}
		return array_merge(
			$this->analyzePhpVersion($dependencies),
			$this->analyzeDatabases($dependencies),
			$this->analyzeCommands($dependencies),
			$this->analyzeLibraries($dependencies),
			$this->analyzeOS($dependencies),
			$this->analyzeOC($dependencies, $app)
		);
	}
public function analyze ( array $ app ) { $ this -> appInfo = $ app ; if ( isset ( $ app [ 'dependencies' ] ) ) { $ dependencies = $ app [ 'dependencies' ] ; } else { $ dependencies = [ ] ; } return array_merge ( $ this -> analyzePhpVersion ( $ dependencies ) , $ this -> analyzeDatabases ( $ dependencies ) , $ this -> analyzeCommands ( $ dependencies ) , $ this -> analyzeLibraries ( $ dependencies ) , $ this -> analyzeOS ( $ dependencies ) , $ this -> analyzeOC ( $ dependencies , $ app ) ) ; }
@param array $app
 @returns array of missing dependencies
@param array $app @returns array of missing dependencies