<commit_before>php-util-lockfile
=================

Handles limiting running instances of a script<commit_msg>Adds some content to the README<commit_after># php-util-lockfile

Handles limiting running instances of a script

## Usage

	Problem\Util\LockFile::test($options);

## Options

### path
**Type:** String<br>
**Default:** `__DIR__ . '/LOCK_FILE'  `<br>
Path to where the lock file will be written<br>

### maxCount
**Type:** Number<br>
**Default:** 1<br>
Maximum allowed parallel executions of the script<br>
{'fraction_non_alphanumeric': 0.16279069767441862, 'fraction_numerical': 0.001937984496124031, 'mean_word_length': 5.8933333333333335, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5637048', 'n_tokens_mistral': 164, 'n_tokens_neox': 156, 'n_words': 52}