PHP Class Hostnet\Component\Webpack\Asset\TrackedFiles

Afficher le fichier Open project: hostnet/webpack-bundle Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

modifiedAfter() public méthode

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.
Résultat boolean true if this set if this set is modified after (later) the other set.