PHP Class Phulp\DistFile

Mostra file Open project: reisraff/phulp

Public Methods

Method Description
__construct ( $content, string $name = '', string $fullpath = '', string $relativepath = '' )
getBasepath ( ) : string Gets the value of basepath.
getContent ( ) : mixed Gets the value of content.
getDistpathname ( ) : string Gets the value of distpathname.
getFullpath ( ) : string Gets the value of fullpath.
getLastChangeTime ( ) : string Gets the value of lastChangeTime.
getName ( ) : string Gets the value of name.
getRelativepath ( ) : string Gets the value of relativepath.
setContent ( mixed $content ) Sets the value of content.
setDistpathname ( string $distpathname ) Sets the value of distpathname.
setLastChangeTime ( string $lastChangeTime ) Sets the value of lastChangeTime.

Method Details

__construct() public method

public __construct ( $content, string $name = '', string $fullpath = '', string $relativepath = '' )
$name string
$fullpath string
$relativepath string

getBasepath() public method

Gets the value of basepath.
public getBasepath ( ) : string
return string $basepath

getContent() public method

Gets the value of content.
public getContent ( ) : mixed
return mixed $content

getDistpathname() public method

Gets the value of distpathname.
public getDistpathname ( ) : string
return string $distpathname

getFullpath() public method

Gets the value of fullpath.
public getFullpath ( ) : string
return string $fullpath

getLastChangeTime() public method

Gets the value of lastChangeTime.
public getLastChangeTime ( ) : string
return string $lastChangeTime

getName() public method

Gets the value of name.
public getName ( ) : string
return string $name

getRelativepath() public method

Gets the value of relativepath.
public getRelativepath ( ) : string
return string $relativepath

setContent() public method

Sets the value of content.
public setContent ( mixed $content )
$content mixed $content the content

setDistpathname() public method

Sets the value of distpathname.
public setDistpathname ( string $distpathname )
$distpathname string $distpathname the distpathname

setLastChangeTime() public method

Sets the value of lastChangeTime.
public setLastChangeTime ( string $lastChangeTime )
$lastChangeTime string $lastChangeTime the last change time