PHP Трейт Kraken\_Module\Filesystem\_Partial\Filesystem\FsApiMovePartial

Показать файл Открыть проект

Открытые методы

Метод Описание
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 ( )

Описание методов

createFilesystem() абстрактный публичный Метод

abstract public createFilesystem ( ) : Kraken\Filesystem\FilesystemInterface
Результат Kraken\Filesystem\FilesystemInterface

getPath() абстрактный публичный Метод

abstract public getPath ( string $path, null $replace = null, string $with = '' ) : string
$path string
$replace null
$with string
Результат string

getPathData() абстрактный публичный Метод

abstract public getPathData ( string $path = '', string $typeFilter = '', boolean $recursive = false, string $filePattern = '' ) : array
$path string
$typeFilter string
$recursive boolean
$filePattern string
Результат array

getPrefix() абстрактный публичный Метод

abstract public getPrefix ( ) : string
Результат string

getPrefixed() абстрактный публичный Метод

abstract public getPrefixed ( string $path, null $replace = null, string $with = '' ) : string
$path string
$replace null
$with string
Результат string

getTest() абстрактный публичный Метод

См. также: TestCase::getTest
abstract public getTest ( ) : TModule
Результат Kraken\Test\TModule

testApiMove_MovesDirectory_WhenDestinationDoesNotExist() публичный Метод

testApiMove_MovesFile_WhenDestinationDoesNotExist() публичный Метод

testApiMove_ThrowsException_WhenSourceDoesNotExist() публичный Метод

testApiMove_ThrowsException_WhenSourceIsDirectoryAndDestinationIsDirectory() публичный Метод

testApiMove_ThrowsException_WhenSourceIsDirectoryAndDestinationIsFile() публичный Метод

testApiMove_ThrowsException_WhenSourceIsFileAndDestinationIsDirectory() публичный Метод

testApiMove_ThrowsException_WhenSourceIsFileAndDestinationIsFile() публичный Метод