PHP Class Rocketeer\Services\Storages\ServerStorage

Author: Maxime Fabre ([email protected])
Inheritance: extends Rocketeer\Abstracts\AbstractStorage, implements Rocketeer\Interfaces\StorageInterface
Show file Open project: anahkiasen/rocketeer

Public Methods

Method Description
destroy ( ) : boolean Destroy the file.
getFilepath ( ) : string Get the full path to the file.

Protected Methods

Method Description
getContents ( ) : array Get the contents of the file.
saveContents ( array $contents ) Save the contents of the file.

Method Details

destroy() public method

Destroy the file.
public destroy ( ) : boolean
return boolean

getContents() protected method

Get the contents of the file.
protected getContents ( ) : array
return array

getFilepath() public method

Get the full path to the file.
public getFilepath ( ) : string
return string

saveContents() protected method

Save the contents of the file.
protected saveContents ( array $contents )
$contents array