PHP Класс Phan\Ordering

Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( CodeBase $code_base )
orderForProcessCount ( integer $process_count, array $analysis_file_list ) : array

Описание методов

__construct() публичный Метод

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

orderForProcessCount() публичный Метод

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.
Результат array A map from process_id to a list of files to be analyzed on that process in stable ordering.