|
| static | getFileContentsHash ( $filePaths) |
| | Get a hash of the combined contents of one or more files, either by retrieving a previously-computed hash from the cache, or by computing a hash from the files.
|
| |
| static | singleton () |
| | Get the singleton instance of this class.
|
| |
Definition at line 22 of file FileContentsHasher.php.
◆ __construct()
| FileContentsHasher::__construct |
( |
| ) |
|
◆ getFileContentsHash()
| static FileContentsHasher::getFileContentsHash |
( |
| $filePaths | ) |
|
|
static |
Get a hash of the combined contents of one or more files, either by retrieving a previously-computed hash from the cache, or by computing a hash from the files.
- Parameters
-
| string | string[] | $filePaths | One or more file paths. |
- Returns
- string|bool Hash of files' contents, or false if no file could not be read.
Definition at line 87 of file FileContentsHasher.php.
References $hashes.
◆ singleton()
| static FileContentsHasher::singleton |
( |
| ) |
|
|
static |
◆ $cache
The documentation for this class was generated from the following file: