Documentation

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
throws
RandomException

If the random name generation fails

Return values
string

The random name of the file


        
On this page

Search results