PHP Class mageekguy\atoum\fs\path

Mostra file Open project: atoum/atoum Class Usage Examples

Protected Properties

Property Type Description
$components
$directorySeparator
$drive

Public Methods

Method Description
__construct ( $value, $directorySeparator = null )
__toString ( )
absolutize ( )
createParentDirectory ( )
exists ( )
getAbsolutePath ( )
getDirectorySeparator ( )
getParentDirectoryPath ( )
getRealParentDirectoryPath ( )
getRealPath ( )
getRelativePathFrom ( path $reference )
getResolvedPath ( )
isAbsolute ( )
isNotSubPathOf ( path $path )
isRoot ( )
isSubPathOf ( path $path )
putContents ( $data )
relativizeFrom ( path $reference )
resolve ( )

Protected Methods

Method Description
getComponents ( $path )
pathIsAbsolute ( $path )
pathIsRoot ( $path )
setDriveAndComponents ( $value )

Method Details

__construct() public method

public __construct ( $value, $directorySeparator = null )

__toString() public method

public __toString ( )

absolutize() public method

public absolutize ( )

createParentDirectory() public method

exists() public method

public exists ( )

getAbsolutePath() public method

public getAbsolutePath ( )

getComponents() protected static method

protected static getComponents ( $path )

getDirectorySeparator() public method

getParentDirectoryPath() public method

getRealParentDirectoryPath() public method

getRealPath() public method

public getRealPath ( )

getRelativePathFrom() public method

public getRelativePathFrom ( path $reference )
$reference path

getResolvedPath() public method

public getResolvedPath ( )

isAbsolute() public method

public isAbsolute ( )

isNotSubPathOf() public method

public isNotSubPathOf ( path $path )
$path path

isRoot() public method

public isRoot ( )

isSubPathOf() public method

public isSubPathOf ( path $path )
$path path

pathIsAbsolute() protected static method

protected static pathIsAbsolute ( $path )

pathIsRoot() protected static method

protected static pathIsRoot ( $path )

putContents() public method

public putContents ( $data )

relativizeFrom() public method

public relativizeFrom ( path $reference )
$reference path

resolve() public method

public resolve ( )

setDriveAndComponents() protected method

protected setDriveAndComponents ( $value )

Property Details

$components protected_oe property

protected $components

$directorySeparator protected_oe property

protected $directorySeparator

$drive protected_oe property

protected $drive