private function getMissingDependencies($dependencies, $libraries) {
    $missing = array();
    foreach ($dependencies as $dependency) {
      $libString = H5PCore::libraryToString($dependency);
      if (!isset($libraries[$libString])) {
        $missing[$libString] = $dependency;
      }
    }
    return $missing;
  }
private function getMissingDependencies($dependencies, $libraries) {
    $missing = array();
    foreach ($dependencies as $dependency) {
      $libString = H5PCore::libraryToString($dependency);
      if (!isset($libraries[$libString])) {
        $missing[$libString] = $dependency;
      }
    }
    return $missing;
  }
private function getMissingDependencies ( $ dependencies , $ libraries ) { $ missing = array ( ) ; foreach ( $ dependencies as $ dependency ) { $ libString = H5PCore :: libraryToString ( $ dependency ) ; if ( ! isset ( $ libraries [ $ libString ] ) ) { $ missing [ $ libString ] = $ dependency ; } } return $ missing ; }
Helper function for getMissingLibraries, searches for dependency required libraries in
the provided list of libraries

@param array $dependencies
A list of objects with machineName, majorVersion and minorVersion properties
@param array $libraries
An array of libraries keyed with machineName
@return
A list of libraries that are missing keyed with machineName and holds objects with
machineName, majorVersion and minorVersion properties
Helper function for getMissingLibraries searches for dependency required libraries in the provided list of libraries