PHP 트레잇 Kraken\_Module\Filesystem\_Partial\Filesystem\FsApiGetFilesPartial

파일 보기 프로젝트 열기: kraken-php/framework

공개 메소드들

메소드 설명
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
testApiGetFiles_ReturnsContentsOnRoot_WhenEmptyStringSet ( )
testApiGetFiles_ReturnsContentsOnRoot_WhenNoDirectorySet ( )
testApiGetFiles_ReturnsContentsOnRoot_WhenRootStringSet ( )
testApiGetFiles_ReturnsContents_WhenFilepatternIsSet ( )
testApiGetFiles_ReturnsContents_WhenFlagIsNotRecursive ( )
testApiGetFiles_ReturnsContents_WhenFlagIsRecursive ( )
testApiGetFiles_ReturnsContents_WhenMultipleFilepatternsAreSet ( )
testApiGetFiles_ReturnsContents_WhenPathDoesExistAndIsValid ( )
testApiGetFiles_ReturnsEmptyArray_WhenDoesNotExist ( )
testApiGetFiles_ReturnsEmptyArray_WhenPathDoesExistButIsNotValid ( )

메소드 상세

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

testApiGetFiles_ReturnsContentsOnRoot_WhenEmptyStringSet() 공개 메소드

testApiGetFiles_ReturnsContentsOnRoot_WhenNoDirectorySet() 공개 메소드

testApiGetFiles_ReturnsContentsOnRoot_WhenRootStringSet() 공개 메소드

testApiGetFiles_ReturnsContents_WhenFilepatternIsSet() 공개 메소드

testApiGetFiles_ReturnsContents_WhenFlagIsNotRecursive() 공개 메소드

testApiGetFiles_ReturnsContents_WhenFlagIsRecursive() 공개 메소드

testApiGetFiles_ReturnsContents_WhenMultipleFilepatternsAreSet() 공개 메소드

testApiGetFiles_ReturnsContents_WhenPathDoesExistAndIsValid() 공개 메소드

testApiGetFiles_ReturnsEmptyArray_WhenDoesNotExist() 공개 메소드

testApiGetFiles_ReturnsEmptyArray_WhenPathDoesExistButIsNotValid() 공개 메소드