protected function includedFilesInfo(array $apcFiles = null) {
		foreach ($this->getIncludedFiles() as $file) {
			if ($apcFiles !== null && isset($apcFiles[$file])) {
				$apcMem   = $this->formatMemory($apcFiles[$file]['mem_size']);
				$apcHits  = $apcFiles[$file]['num_hits'];
				$fileInfo = sprintf(self::$apcInfo, $apcMem, $apcHits);
			} else {
				$fileInfo = '';
			}
			
			foreach ($this->groups as $title => $path) {
				if (strpos($file, $path) === 0) {
					if (! isset($groups[$title])) {
						$groups[$title] = [];
					}
					
					$groups[$title][] = [str_replace($path, '', $file), $fileInfo];
					continue 2;
				}
			}
			
			$other[] = [$file, $fileInfo];
		}
		
		if (! empty($other)) {
			if (empty($groups)) {
				$groups['Included files:'] = $other;
			} else {
				$groups['Other files:'] = $other;
			}
		}
		
		return $groups;
	}
protected function includedFilesInfo(array $apcFiles = null) {
		foreach ($this->getIncludedFiles() as $file) {
			if ($apcFiles !== null && isset($apcFiles[$file])) {
				$apcMem   = $this->formatMemory($apcFiles[$file]['mem_size']);
				$apcHits  = $apcFiles[$file]['num_hits'];
				$fileInfo = sprintf(self::$apcInfo, $apcMem, $apcHits);
			} else {
				$fileInfo = '';
			}
			
			foreach ($this->groups as $title => $path) {
				if (strpos($file, $path) === 0) {
					if (! isset($groups[$title])) {
						$groups[$title] = [];
					}
					
					$groups[$title][] = [str_replace($path, '', $file), $fileInfo];
					continue 2;
				}
			}
			
			$other[] = [$file, $fileInfo];
		}
		
		if (! empty($other)) {
			if (empty($groups)) {
				$groups['Included files:'] = $other;
			} else {
				$groups['Other files:'] = $other;
			}
		}
		
		return $groups;
	}
protected function includedFilesInfo ( array $ apcFiles = null ) { foreach ( $ this -> getIncludedFiles ( ) as $ file ) { if ( $ apcFiles !== null && isset ( $ apcFiles [ $ file ] ) ) { $ apcMem = $ this -> formatMemory ( $ apcFiles [ $ file ] [ 'mem_size' ] ) ; $ apcHits = $ apcFiles [ $ file ] [ 'num_hits' ] ; $ fileInfo = sprintf ( self :: $ apcInfo , $ apcMem , $ apcHits ) ; } else { $ fileInfo = '' ; } foreach ( $ this -> groups as $ title => $ path ) { if ( strpos ( $ file , $ path ) === 0 ) { if ( ! isset ( $ groups [ $ title ] ) ) { $ groups [ $ title ] = [ ] ; } $ groups [ $ title ] [ ] = [ str_replace ( $ path , '' , $ file ) , $ fileInfo ] ; continue 2 ; } } $ other [ ] = [ $ file , $ fileInfo ] ; } if ( ! empty ( $ other ) ) { if ( empty ( $ groups ) ) { $ groups [ 'Included files:' ] = $ other ; } else { $ groups [ 'Other files:' ] = $ other ; } } return $ groups ; }
Create groups with information about the included files

@param  array $apcFiles
@return array
Create groups with information about the included files