PHP Trait Kraken\_Module\Filesystem\_Partial\Filesystem\FsApiMovePartial

Afficher le fichier Open project: kraken-php/framework

Méthodes publiques

Méthode Description
createFilesystem ( ) : Kraken\Filesystem\FilesystemInterface
getPath ( string $path, null $replace = null, string $with = '' ) : string
getPathData ( string $path = '', string $typeFilter = '', boolean $recursive = false, string $filePattern = '' ) : array
getPrefix ( ) : string
getPrefixed ( string $path, null $replace = null, string $with = '' ) : string
getTest ( ) : TModule
testApiMove_MovesDirectory_WhenDestinationDoesNotExist ( )
testApiMove_MovesFile_WhenDestinationDoesNotExist ( )
testApiMove_ThrowsException_WhenSourceDoesNotExist ( )
testApiMove_ThrowsException_WhenSourceIsDirectoryAndDestinationIsDirectory ( )
testApiMove_ThrowsException_WhenSourceIsDirectoryAndDestinationIsFile ( )
testApiMove_ThrowsException_WhenSourceIsFileAndDestinationIsDirectory ( )
testApiMove_ThrowsException_WhenSourceIsFileAndDestinationIsFile ( )

Method Details

createFilesystem() abstract public méthode

abstract public createFilesystem ( ) : Kraken\Filesystem\FilesystemInterface
Résultat Kraken\Filesystem\FilesystemInterface

getPath() abstract public méthode

abstract public getPath ( string $path, null $replace = null, string $with = '' ) : string
$path string
$replace null
$with string
Résultat string

getPathData() abstract public méthode

abstract public getPathData ( string $path = '', string $typeFilter = '', boolean $recursive = false, string $filePattern = '' ) : array
$path string
$typeFilter string
$recursive boolean
$filePattern string
Résultat array

getPrefix() abstract public méthode

abstract public getPrefix ( ) : string
Résultat string

getPrefixed() abstract public méthode

abstract public getPrefixed ( string $path, null $replace = null, string $with = '' ) : string
$path string
$replace null
$with string
Résultat string

getTest() abstract public méthode

See also: TestCase::getTest
abstract public getTest ( ) : TModule
Résultat Kraken\Test\TModule

testApiMove_MovesDirectory_WhenDestinationDoesNotExist() public méthode

testApiMove_MovesFile_WhenDestinationDoesNotExist() public méthode

testApiMove_ThrowsException_WhenSourceDoesNotExist() public méthode

testApiMove_ThrowsException_WhenSourceIsDirectoryAndDestinationIsDirectory() public méthode

testApiMove_ThrowsException_WhenSourceIsDirectoryAndDestinationIsFile() public méthode

testApiMove_ThrowsException_WhenSourceIsFileAndDestinationIsDirectory() public méthode

testApiMove_ThrowsException_WhenSourceIsFileAndDestinationIsFile() public méthode