PHP Trait Kraken\_Module\Filesystem\_Partial\Filesystem\FsApiGetTypePartial

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
testApiGetType_ReturnsFalse_WhenNodeIsDirectory ( )
testApiGetType_ReturnsType_WhenNodeIsFile ( )
testApiGetType_ThrowsException_WhenNodeDoesNotExist ( )

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

testApiGetType_ReturnsFalse_WhenNodeIsDirectory() public méthode

testApiGetType_ReturnsType_WhenNodeIsFile() public méthode

testApiGetType_ThrowsException_WhenNodeDoesNotExist() public méthode