CandidateProvider

Class
Final: Yes

Provides the canonical list of candidate paths for export-ignore rules.

Description

This class defines the baseline set of files and directories that should typically be excluded from Composer package archives. The list is organized into folders and files groups for deterministic ordering.

Table of Contents

Interfaces

CandidateProviderInterface

Provides the canonical list of candidate paths for export-ignore rules.

Methods

all()

Returns all candidates as a combined list with folders first, then files.

 : array<int, string>
files()

Returns the list of file paths that are candidates for export-ignore.

 : array<int, string>
folders()

Returns the list of folder paths that are candidates for export-ignore.

 : array<int, string>
Methods

all()

Public

Returns all candidates as a combined list with folders first, then files.

public all() : array<int, string>
Return values
array<int, string>

Description

All candidates in deterministic order

files()

Public

Returns the list of file paths that are candidates for export-ignore.

public files() : array<int, string>
Return values
array<int, string>

Description

Files that are candidates for export-ignore

folders()

Public

Returns the list of folder paths that are candidates for export-ignore.

public folders() : array<int, string>
Return values
array<int, string>

Description

Folders that are candidates for export-ignore