Documentation

Cache extends Base
in package

Class Cache.

Table of Contents

$backend  : string
$dir  : string
$files  : int
$freeSpace  : string
$id  : string
$name  : string
$size  : string
getArrayCopy()  : array<string|int, mixed>
Gets the attributes of this entity.
getBackend()  : string
getDir()  : string
getFiles()  : int
getFreeSpace()  : string
getId()  : string
getName()  : string
getSize()  : string
setBackend()  : Cache
setDir()  : Cache
setEntityAttributes()  : $this
Sets the attributes of this entity.
setFiles()  : Cache
setFreeSpace()  : Cache
setId()  : Cache
setName()  : Cache
setSize()  : Cache

Properties

$backend

protected string $backend

$freeSpace

protected string $freeSpace

$name

protected string $name

$size

protected string $size

Methods

getArrayCopy()

Gets the attributes of this entity.

public getArrayCopy() : array<string|int, mixed>
Return values
array<string|int, mixed>

getBackend()

public getBackend() : string
Return values
string

getDir()

public getDir() : string
Return values
string

getFiles()

public getFiles() : int
Return values
int

getFreeSpace()

public getFreeSpace() : string
Return values
string

getId()

public getId() : string
Return values
string

getName()

public getName() : string
Return values
string

getSize()

public getSize() : string
Return values
string

setBackend()

public setBackend(string $backend) : Cache
Parameters
$backend : string
Return values
Cache

setDir()

public setDir(string $dir) : Cache
Parameters
$dir : string
Return values
Cache

setEntityAttributes()

Sets the attributes of this entity.

public setEntityAttributes(array<string|int, mixed> $attributes) : $this
Parameters
$attributes : array<string|int, mixed>
Return values
$this

setFiles()

public setFiles(int $files) : Cache
Parameters
$files : int
Return values
Cache

setFreeSpace()

public setFreeSpace(string $freeSpace) : Cache
Parameters
$freeSpace : string
Return values
Cache

setId()

public setId(string $id) : Cache
Parameters
$id : string
Return values
Cache

setName()

public setName(string $name) : Cache
Parameters
$name : string
Return values
Cache

setSize()

public setSize(string $size) : Cache
Parameters
$size : string
Return values
Cache

Search results