|  | @@ 263-274 (lines=12) @@ | 
                                                            
                                    | 260 |  | 				} | 
                                                            
                                    | 261 |  | 			} | 
                                                            
                                    | 262 |  |  | 
                                                            
                                    | 263 |  | 			if ( 'classmap' === $type && isset( $autoload['classmap'] ) && is_array( $autoload['classmap'] ) ) { | 
                                                            
                                    | 264 |  | 				foreach ( $autoload['classmap'] as $paths ) { | 
                                                            
                                    | 265 |  | 					$paths = is_array( $paths ) ? $paths : array( $paths ); | 
                                                            
                                    | 266 |  | 					foreach ( $paths as $path ) { | 
                                                            
                                    | 267 |  | 						$relativePath = empty( $installPath ) ? ( empty( $path ) ? '.' : $path ) : $installPath . '/' . $path; | 
                                                            
                                    | 268 |  | 						$autoloads[]  = array( | 
                                                            
                                    | 269 |  | 							'path'    => $relativePath, | 
                                                            
                                    | 270 |  | 							'version' => $package->getVersion(), // Version of the class comes from the package - should we try to parse it? | 
                                                            
                                    | 271 |  | 						); | 
                                                            
                                    | 272 |  | 					} | 
                                                            
                                    | 273 |  | 				} | 
                                                            
                                    | 274 |  | 			} | 
                                                            
                                    | 275 |  | 			if ( 'files' === $type && isset( $autoload['files'] ) && is_array( $autoload['files'] ) ) { | 
                                                            
                                    | 276 |  | 				foreach ( $autoload['files'] as $paths ) { | 
                                                            
                                    | 277 |  | 					$paths = is_array( $paths ) ? $paths : array( $paths ); | 
                                                                                
                                |  | @@ 275-286 (lines=12) @@ | 
                                                            
                                    | 272 |  | 					} | 
                                                            
                                    | 273 |  | 				} | 
                                                            
                                    | 274 |  | 			} | 
                                                            
                                    | 275 |  | 			if ( 'files' === $type && isset( $autoload['files'] ) && is_array( $autoload['files'] ) ) { | 
                                                            
                                    | 276 |  | 				foreach ( $autoload['files'] as $paths ) { | 
                                                            
                                    | 277 |  | 					$paths = is_array( $paths ) ? $paths : array( $paths ); | 
                                                            
                                    | 278 |  | 					foreach ( $paths as $path ) { | 
                                                            
                                    | 279 |  | 						$relativePath = empty( $installPath ) ? ( empty( $path ) ? '.' : $path ) : $installPath . '/' . $path; | 
                                                            
                                    | 280 |  | 						$autoloads[ $this->getFileIdentifier( $package, $path ) ] = array( | 
                                                            
                                    | 281 |  | 							'path'    => $relativePath, | 
                                                            
                                    | 282 |  | 							'version' => $package->getVersion(), // Version of the file comes from the package - should we try to parse it? | 
                                                            
                                    | 283 |  | 						); | 
                                                            
                                    | 284 |  | 					} | 
                                                            
                                    | 285 |  | 				} | 
                                                            
                                    | 286 |  | 			} | 
                                                            
                                    | 287 |  | 		} | 
                                                            
                                    | 288 |  |  | 
                                                            
                                    | 289 |  | 		return $autoloads; |