FileHelper
in package
AbstractYes
Table of Contents
Methods
- toRandomName() : string
- Get a random name for a given file
Methods
toRandomName()
Get a random name for a given file
public
static toRandomName(string $filePath) : string
Parameters
- $filePath : string
-
The path to the file
Tags
Return values
string —The random name of the file