Méthode | Description | |
---|---|---|
__construct ( $string ) | InotifyWatchRecord constructor. | |
isDeleted ( ) : boolean | Determine if the object has just been deleted or moved from our watched directory. | |
isDirectory ( ) | ||
isNewOrModified ( ) : boolean | Determine if the object has just been created or modified. | |
parse ( $string ) | Parse the inotifywait's output. The inotifywait command should be something like: $ inotifywait -rme move,close_write,delete --format "%e %w%f" $MEDIA_PATH. |
public isNewOrModified ( ) : boolean | ||
Résultat | boolean |
public parse ( $string ) | ||
$string | string The output string. |