FileAccess Orion

VariableStorage
in package

Table of Contents

$data  : null|mixed
The data to store, can be of any serializable type
$git_repo  : Git|null
Repo instance
$id  : string|null
The uuid the entry is stored as
$path  : string|null
The storage path
$prefix  : string
The storage prefix
__construct()  : mixed
VariableStorage constructor.
GetPath()  : string
expose the storage path provide an interface to extract the current path of this object
GitRepo()  : Git|null
Get reference to repo
Save()  : Result
Save to file system

Properties

$data

The data to store, can be of any serializable type

protected null|mixed $data = null

$id

The uuid the entry is stored as

protected string|null $id = null

Methods

__construct()

VariableStorage constructor.

public __construct( $data[, string $prefix = '.data' ]) : mixed
Parameters
$data :
$prefix : string = '.data'
Return values
mixed

GetPath()

expose the storage path provide an interface to extract the current path of this object

public GetPath() : string
Return values
string

the object storage path

Search results