phpDocumentor

PathType extends NonEmptyStringType
in package

Class PathType

Tags
category

System

subpackage

FileSystem

Table of Contents

$value  : string
Instance Value
__construct()  : mixed
PathType constructor.
asString()  : string
Get the instance value as string.
getAbsolutePath()  : string
Returns the absolute path.
_getRealPath()  : string

Properties

Methods

__construct()

PathType constructor.

public __construct(string $absolutePath) : mixed
Parameters
$absolutePath : string
Tags
throws
InvalidArgumentException
Return values
mixed

asString()

Get the instance value as string.

public asString() : string
Return values
string

getAbsolutePath()

Returns the absolute path.

public getAbsolutePath() : string
Return values
string

_getRealPath()

protected _getRealPath( $path) : string
Parameters
$path :
Return values
string

Search results