PHP Class Phan\Ordering

ファイルを表示 Open project: etsy/phan

Public Methods

Method Description
__construct ( CodeBase $code_base )
orderForProcessCount ( integer $process_count, array $analysis_file_list ) : array

Method Details

__construct() public method

public __construct ( CodeBase $code_base )
$code_base CodeBase The entire code base used to choose a file analysis ordering.

orderForProcessCount() public method

public orderForProcessCount ( integer $process_count, array $analysis_file_list ) : array
$process_count integer The number of processes we'd like to divide work up amongst.
$analysis_file_list array A list of files that should be analyzed which will be used to ignore any files outside of the list and to draw from for any missing files.
return array A map from process_id to a list of files to be analyzed on that process in stable ordering.