private function getResourceFilesInSource(string $sourceFileContent): array
  {
    $resource_files = [];
    foreach ($this->getResourcesInfo() as $file_info)
    {
      if (strpos($sourceFileContent, $file_info['path_name_in_sources_with_hash'])!==false)
      {
        $resource_files[] = $file_info;
      }
    }

    return $resource_files;
  }
private function getResourceFilesInSource(string $sourceFileContent): array
  {
    $resource_files = [];
    foreach ($this->getResourcesInfo() as $file_info)
    {
      if (strpos($sourceFileContent, $file_info['path_name_in_sources_with_hash'])!==false)
      {
        $resource_files[] = $file_info;
      }
    }

    return $resource_files;
  }
private function getResourceFilesInSource ( string $ sourceFileContent ) : array { $ resource_files = [ ] ; foreach ( $ this -> getResourcesInfo ( ) as $ file_info ) { if ( strpos ( $ sourceFileContent , $ file_info [ 'path_name_in_sources_with_hash' ] ) !== false ) { $ resource_files [ ] = $ file_info ; } } return $ resource_files ; }
Returns an array with info about resource files referenced from a source file.

@param string $sourceFileContent Content of updated source file.

@return array
Returns an array with info about resource files referenced from a source file .