PHP Trait Kraken\_Module\Filesystem\_Partial\Filesystem\FsApiPrependPartial

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
testApiPrepend_PrependsToFile_WhenNodeIsFile ( )
testApiPrepend_ThrowsException_WhenNodeDoesNotExist ( )
testApiPrepend_ThrowsException_WhenNodeIsDirectory ( )

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

testApiPrepend_PrependsToFile_WhenNodeIsFile() public méthode

testApiPrepend_ThrowsException_WhenNodeDoesNotExist() public méthode

testApiPrepend_ThrowsException_WhenNodeIsDirectory() public méthode