PHP Trait Kraken\_Module\Filesystem\_Partial\Filesystem\FsApiGetExtensionPartial

Afficher le fichier Open project: kraken-php/framework

Méthodes publiques

Méthode Description
createFilesystem ( ) : Kraken\Filesystem\FilesystemInterface
getFullPath ( string $path, null $replace = null, string $with = '' ) : string
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
testApiGetExtension_ReturnsEmptyString_WhenNodeDoesNotExist ( )
testApiGetExtension_ReturnsExtension_WhenNodeIsDirectory ( )
testApiGetExtension_ReturnsExtension_WhenNodeIsFile ( )

Method Details

createFilesystem() abstract public méthode

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

getFullPath() abstract public méthode

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

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

testApiGetExtension_ReturnsEmptyString_WhenNodeDoesNotExist() public méthode

testApiGetExtension_ReturnsExtension_WhenNodeIsDirectory() public méthode

testApiGetExtension_ReturnsExtension_WhenNodeIsFile() public méthode