ExistingFile
extends PathType
in package
Class ExistingFile
Tags
Table of Contents
- $value : string
- Instance Value
- __construct() : mixed
- ExistingFile constructor.
- asString() : string
- Get the instance value as string.
- getAbsolutePath() : string
- Returns the absolute path.
- getFilePath() : string
- Returns the absolute file path.
- _getRealPath() : string
Properties
$value
Instance Value
protected
string
$value
Methods
__construct()
ExistingFile constructor.
public
__construct(NonEmptyStringType $absoluteFilePath) : mixed
Parameters
- $absoluteFilePath : NonEmptyStringType
Tags
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 —getFilePath()
Returns the absolute file path.
public
getFilePath() : string
Return values
string —_getRealPath()
protected
_getRealPath( $path) : string