\Charcoal\App\ConfigMemcacheCacheServerConfig

Memcache Cache Server Config

Defines a memcache server configuration.

Summary

Methods
Properties
Constants
defaults()
setHost()
host()
setPort()
port()
setPersistent()
persistent()
setWeight()
weight()
$host
$port
$persistent
$weight
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$host

$host : string

Type

string

$port

$port : integer

Type

integer

$persistent

$persistent : boolean

Type

boolean

$weight

$weight : integer

Type

integer

Methods

defaults()

defaults() : array

Returns

array

host()

host() : string

Returns

string

port()

port() : integer

Returns

integer

persistent()

persistent() : boolean

Returns

boolean

setWeight()

setWeight(integer  $weight) : \Charcoal\App\Config\MemcacheCacheServerConfig

Parameters

integer $weight

The weight of this server, relative to other's weight.

Returns

\Charcoal\App\Config\MemcacheCacheServerConfig

Chainable

weight()

weight() : integer

Returns

integer