Upstream
class Upstream implements UpstreamInterface
Traits
Methods
__construct(string $_name, array $data = [])
No description
string
getName()
No description
void
setServer(string $ip, int $weight = 1)
No description
array
getServers()
No description
array
toArray()
No description
string|false
toJson()
No description
Details
in
HasListeners at line 17
void
setListener(Listener $listener)
Setup new listener
in
HasListeners at line 27
array
getListeners()
Get listeners linked to object;
in
HasListeners at line 37
bool
hasListeners()
Check if listeners are empty or not
at line 19
__construct(string $_name, array $data = [])
No description
at line 33
string
getName()
No description
at line 52
void
setServer(string $ip, int $weight = 1)
No description
at line 70
array
getServers()
No description
at line 75
array
toArray()
No description
at line 85
string|false
toJson()
No description