RelativeFilePathStringType
extends FilenameStringType
in package
Class RelativeFilePathStringType
Table of Contents
- $value : string
- Instance Value
- __construct() : mixed
- Class Constructor
- asString() : string
- Get the instance value as string.
- _validateFilename() : FilenameStringType
- Validates file name.
- validateFilenameIsNotAPath() : void
Properties
$value
Instance Value
protected
string
$value
Methods
__construct()
Class Constructor
public
__construct(string $p_value) : mixed
Parameters
- $p_value : string
Tags
Return values
mixed —asString()
Get the instance value as string.
public
asString() : string
Return values
string —_validateFilename()
Validates file name.
protected
_validateFilename(string $filename) : FilenameStringType
Parameters
- $filename : string
Return values
FilenameStringType —Same instance for chained method calls.
validateFilenameIsNotAPath()
protected
validateFilenameIsNotAPath(string $filename) : void
Parameters
- $filename : string