PHP Trait Kraken\_Module\Filesystem\_Partial\Filesystem\FsApiSetVisibilityPartial

Mostra file Open project: kraken-php/framework

Public Methods

Method 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
testApiSetVisibility_SetsPrivate_WhenDirectoryDoesExist_WhenNodeIsPrivate ( )
testApiSetVisibility_SetsPrivate_WhenDirectoryDoesExist_WhenNodeIsPublic ( )
testApiSetVisibility_SetsPrivate_WhenFileDoesExist_WhenNodeIsPrivate ( )
testApiSetVisibility_SetsPrivate_WhenFileDoesExist_WhenNodeIsPublic ( )
testApiSetVisibility_SetsPublic_WhenDirectoryDoesExist_WhenNodeIsPrivate ( )
testApiSetVisibility_SetsPublic_WhenDirectoryDoesExist_WhenNodeIsPublic ( )
testApiSetVisibility_SetsPublic_WhenFileDoesExist_WhenNodeIsPrivate ( )
testApiSetVisibility_SetsPublic_WhenFileDoesExist_WhenNodeIsPublic ( )
testApiSetVisibility_ThrowsException_WhenDirectoryDoesExist_WhenVisibilityFlagIsNotValid ( )
testApiSetVisibility_ThrowsException_WhenFileDoesExist_WhenVisibilityFlagIsNotValid ( )
testApiSetVisibility_ThrowsException_WhenPathDoesNotExist ( )

Method Details

createFilesystem() abstract public method

abstract public createFilesystem ( ) : Kraken\Filesystem\FilesystemInterface
return Kraken\Filesystem\FilesystemInterface

getPath() abstract public method

abstract public getPath ( string $path, null $replace = null, string $with = '' ) : string
$path string
$replace null
$with string
return string

getPathData() abstract public method

abstract public getPathData ( string $path = '', string $typeFilter = '', boolean $recursive = false, string $filePattern = '' ) : array
$path string
$typeFilter string
$recursive boolean
$filePattern string
return array

getPrefix() abstract public method

abstract public getPrefix ( ) : string
return string

getPrefixed() abstract public method

abstract public getPrefixed ( string $path, null $replace = null, string $with = '' ) : string
$path string
$replace null
$with string
return string

getTest() abstract public method

See also: TestCase::getTest
abstract public getTest ( ) : TModule
return Kraken\Test\TModule

testApiSetVisibility_SetsPrivate_WhenDirectoryDoesExist_WhenNodeIsPrivate() public method

testApiSetVisibility_SetsPrivate_WhenDirectoryDoesExist_WhenNodeIsPublic() public method

testApiSetVisibility_SetsPrivate_WhenFileDoesExist_WhenNodeIsPrivate() public method

testApiSetVisibility_SetsPrivate_WhenFileDoesExist_WhenNodeIsPublic() public method

testApiSetVisibility_SetsPublic_WhenDirectoryDoesExist_WhenNodeIsPrivate() public method

testApiSetVisibility_SetsPublic_WhenDirectoryDoesExist_WhenNodeIsPublic() public method

testApiSetVisibility_SetsPublic_WhenFileDoesExist_WhenNodeIsPrivate() public method

testApiSetVisibility_SetsPublic_WhenFileDoesExist_WhenNodeIsPublic() public method

testApiSetVisibility_ThrowsException_WhenDirectoryDoesExist_WhenVisibilityFlagIsNotValid() public method

testApiSetVisibility_ThrowsException_WhenFileDoesExist_WhenVisibilityFlagIsNotValid() public method

testApiSetVisibility_ThrowsException_WhenPathDoesNotExist() public method