PHP Trait Kraken\_Module\Filesystem\_Partial\Filesystem\FsApiReqPartial

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
testApiReq_RequiresContents_WhenPathDoesExistAndIsValid ( )
testApiReq_ReturnsEmptyString_WhenPathDoesExistButIsNotValid ( )
testApiReq_ThrowsException_WhenPathDoesNotExist ( )

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

testApiReq_RequiresContents_WhenPathDoesExistAndIsValid() public méthode

testApiReq_ReturnsEmptyString_WhenPathDoesExistButIsNotValid() public méthode

testApiReq_ThrowsException_WhenPathDoesNotExist() public méthode