FilesystemHelperInterface
in
Interface FilesystemHelperInterface
Tags
Table of Contents
- correctFileTypeExtension() : FilenameStringType
- Returns the target file name with an ensured file extension. If the target file name has no file type extension it will be automatically added, by using the extension from the source file name.
Methods
correctFileTypeExtension()
Returns the target file name with an ensured file extension. If the target file name has no file type extension it will be automatically added, by using the extension from the source file name.
public
correctFileTypeExtension(FilenameStringType $sourceFile, FilenameStringType $targetFile) : FilenameStringType
Parameters
- $sourceFile : FilenameStringType
- $targetFile : FilenameStringType