ExportIgnoreFilterInterface

Interface

Filters canonical export-ignore candidates against consumer keep rules.

Description

Implementations MUST remove any candidate path explicitly configured to stay in the exported package archive, while preserving the order of the remaining candidates.

Table of Contents

Methods

filter()

Filters export-ignore candidates using the configured keep-in-export paths.

 : array<int, string>
Methods

filter()

Public

Filters export-ignore candidates using the configured keep-in-export paths.

public filter( array<int, string>  $candidates, array<int, string>  $keepInExportPaths) : array<int, string>
Parameters
$candidates : array<int, string>

Description

the canonical candidate paths

$keepInExportPaths : array<int, string>

Description

the paths that MUST remain exportable

Return values
array<int, string>

Description

the filtered export-ignore candidates