/**
* Generates an md5 hash of a given directory and all of its files
* that match the watched extensions defined in Config\Toolbar.
*/ publicfunctionhashDirectory(string $path): string { if(! is_dir($path)){ throw FrameworkException::forInvalidDirectory($path); }