PathGenerator
Table of Contents
Methods
-
copyPath()
: string
-
fileName()
: string
-
getExtension()
: string
-
getOriginalName()
: string|null
-
rootDir()
: string
copyPath()
public
copyPath(string $fromPath) : string
Parameters
-
$fromPath
: string
-
fileName()
public
fileName(string $extension[, string $root = null ][, bool $hasVariants = false ]) : string
Parameters
-
$extension
: string
-
-
$root
: string
= null
-
-
$hasVariants
: bool
= false
-
getExtension()
public
getExtension(string|UploadedFile $path) : string
Parameters
-
$path
: string|UploadedFile
-
getOriginalName()
public
getOriginalName(string|UploadedFile $file) : string|null
Parameters
-
$file
: string|UploadedFile
-
Return values
string|null
rootDir()
public
rootDir(string $path) : string
Parameters
-
$path
: string
-