Properties

$file

$file : 

Type

Methods

testGetMimeTypeUsesMimeTypeGuessers()

testGetMimeTypeUsesMimeTypeGuessers() 

testGuessExtensionWithoutGuesser()

testGuessExtensionWithoutGuesser() 

testGuessExtensionIsBasedOnMimeType()

testGuessExtensionIsBasedOnMimeType() 

testGuessExtensionWithReset()

testGuessExtensionWithReset() 

testConstructWhenFileNotExists()

testConstructWhenFileNotExists() 

testMove()

testMove() 

testMoveWithNewName()

testMoveWithNewName() 

getFilenameFixtures()

getFilenameFixtures() 

testMoveWithNonLatinName()

testMoveWithNonLatinName(  $filename,   $sanitizedFilename) 

Parameters

$filename
$sanitizedFilename

testMoveToAnUnexistentDirectory()

testMoveToAnUnexistentDirectory() 

createMockGuesser()

createMockGuesser(  $path,   $mimeType) 

Parameters

$path
$mimeType