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

파일 보기 프로젝트 열기: 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
testApiGetMimetype_ReturnsMimetype_WhenNodeIsDirectory ( )
testApiGetMimetype_ReturnsMimetype_WhenNodeIsFile ( )
testApiGetMimetype_ThrowsException_WhenNodeDoesNotExist ( )

메소드 상세

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

testApiGetMimetype_ReturnsMimetype_WhenNodeIsDirectory() 공개 메소드

testApiGetMimetype_ReturnsMimetype_WhenNodeIsFile() 공개 메소드

testApiGetMimetype_ThrowsException_WhenNodeDoesNotExist() 공개 메소드