private function getMissingLibraries($libraries) {
    $missing = array();
    foreach ($libraries as $library) {
      if (isset($library['preloadedDependencies'])) {
        $missing = array_merge($missing, $this->getMissingDependencies($library['preloadedDependencies'], $libraries));
      }
      if (isset($library['dynamicDependencies'])) {
        $missing = array_merge($missing, $this->getMissingDependencies($library['dynamicDependencies'], $libraries));
      }
      if (isset($library['editorDependencies'])) {
        $missing = array_merge($missing, $this->getMissingDependencies($library['editorDependencies'], $libraries));
      }
    }
    return $missing;
  }
private function getMissingLibraries($libraries) {
    $missing = array();
    foreach ($libraries as $library) {
      if (isset($library['preloadedDependencies'])) {
        $missing = array_merge($missing, $this->getMissingDependencies($library['preloadedDependencies'], $libraries));
      }
      if (isset($library['dynamicDependencies'])) {
        $missing = array_merge($missing, $this->getMissingDependencies($library['dynamicDependencies'], $libraries));
      }
      if (isset($library['editorDependencies'])) {
        $missing = array_merge($missing, $this->getMissingDependencies($library['editorDependencies'], $libraries));
      }
    }
    return $missing;
  }
private function getMissingLibraries ( $ libraries ) { $ missing = array ( ) ; foreach ( $ libraries as $ library ) { if ( isset ( $ library [ 'preloadedDependencies' ] ) ) { $ missing = array_merge ( $ missing , $ this -> getMissingDependencies ( $ library [ 'preloadedDependencies' ] , $ libraries ) ) ; } if ( isset ( $ library [ 'dynamicDependencies' ] ) ) { $ missing = array_merge ( $ missing , $ this -> getMissingDependencies ( $ library [ 'dynamicDependencies' ] , $ libraries ) ) ; } if ( isset ( $ library [ 'editorDependencies' ] ) ) { $ missing = array_merge ( $ missing , $ this -> getMissingDependencies ( $ library [ 'editorDependencies' ] , $ libraries ) ) ; } } return $ missing ; }
Use the dependency declarations to find any missing libraries

@param array $libraries
A multidimensional array of libraries keyed with machineName first and majorVersion second
@return array
A list of libraries that are missing keyed with machineName and holds objects with
machineName, majorVersion and minorVersion properties
Use the dependency declarations to find any missing libraries