Create a randomized name for runtime temp dir
Usage
// basic usage
$string = $wireTempDir->createName();
// usage with all arguments
$string = $wireTempDir->createName(string $prefix = '');
Arguments
Name | Type(s) | Description |
---|---|---|
prefix (optional) | string | Optional prefix for name |
Return value
string
WireTempDir methods and properties
API reference based on ProcessWire core version 3.0.236