Horde_Pear_Package_Contents_Ignore_Composite
in package
implements
Horde_Pear_Package_Contents_Ignore
Horde_Pear_Package_Contents_Ignore_Composite:: combines several ignore handlers.
Tags
Interfaces, Classes and Traits
- Horde_Pear_Package_Contents_Ignore
- Horde_Pear_Package_Contents_Ignore:: defines "ignore" filters to be used when generating package.xml filelists.
Table of Contents
- $_ignores : array<string|int, mixed>
- The ignore handlers.
- __construct() : mixed
- Constructor.
- isIgnored() : bool
- Tell whether to ignore the element.
Properties
$_ignores
The ignore handlers.
private
array<string|int, mixed>
$_ignores
Methods
__construct()
Constructor.
public
__construct(array<string|int, mixed> $ignores) : mixed
Parameters
- $ignores : array<string|int, mixed>
-
The ignore handlers.
Return values
mixed —isIgnored()
Tell whether to ignore the element.
public
isIgnored(SplFileInfo $element) : bool
Parameters
- $element : SplFileInfo
-
The element to check.
Return values
bool —True if the element should be ignored, false otherwise.