PHP Class Kraken\_Module\Filesystem\_Abstract\FilesystemTestAbstract

Inheritance: extends Kraken\Test\TModule
Datei anzeigen Open project: kraken-php/framework

Protected Properties

Property Type Description
$path string
$paths string[]

Public Methods

Method Description
createFilesystem ( $path = null ) : 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
setUp ( )
tearDown ( )

Private Methods

Method Description
createDirStructure ( )
destroyDirStructure ( )
getLocalData ( $path ) : mixed[]
getPathAllData ( string $path, boolean $recursive ) : array
rrmdir ( $dir )

Method Details

createFilesystem() public method

public createFilesystem ( $path = null ) : Kraken\Filesystem\FilesystemInterface
return Kraken\Filesystem\FilesystemInterface

getFullPath() public method

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

getPath() public method

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

getPathData() public method

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

getPrefix() public method

public getPrefix ( ) : string
return string

getPrefixed() public method

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

setUp() public method

public setUp ( )

tearDown() public method

public tearDown ( )

Property Details

$path protected_oe property

protected string $path
return string

$paths protected_oe property

protected string[] $paths
return string[]