ExistingFile

Extends \PathType

Class ExistingFile

Shared string type class. Use the "asString" method for getting the plain value.

Notice: The constructor value must not be empty!

category

System

package

Shared

subpackage

FileSystem

Methods

Class Constructor

__construct(string $p_value) 
inherited
Throws
\InvalidArgumentException

Arguments

$p_value

string

_getRealPath

_getRealPath( $path) : string
inherited

Arguments

$path

Response

string

Get the instance value as string.

asString() : string
inherited

Response

string

Returns the absolute path.

getAbsolutePath() : string
inherited

Response

string

Returns the absolute file path.

getFilePath() : string

Response

string

Properties

Instance Value

value : string
inherited
var

Type(s)

string