PHP Class Hostnet\Component\Webpack\Asset\TrackedFiles

Datei anzeigen Open project: hostnet/webpack-bundle Class Usage Examples

Public Methods

Method Description
__construct ( array $paths ) Track a set of paths
modifiedAfter ( TrackedFiles $other ) : boolean Is one of the Tracked files in this set changed later than the other set.

Method Details

__construct() public method

Track a set of paths
public __construct ( array $paths )
$paths array the list of directories or files to track / follow

modifiedAfter() public method

Is one of the Tracked files in this set changed later than the other set.
public modifiedAfter ( TrackedFiles $other ) : boolean
$other TrackedFiles the other set of files to compare to.
return boolean true if this set if this set is modified after (later) the other set.