Class FilesystemHelper

Class FilesystemHelper

FilesystemHelper implements FilesystemHelperInterface, CrossCuttingObjectInterface

Methods summary

public correctFileTypeExtension( FilenameStringType $sourceFile, FilenameStringType $targetFile ) : 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.