class ServerRegistry

Class ServerRegistry

Properties

protected ServerInterface[] $servers

Methods

__construct()

ServerRegistry constructor.

addServer(ServerInterface $server)

No description

getServer(mixed $serverName)

No description

getServers()

No description

Details

at line 21
__construct()

ServerRegistry constructor.

at line 29
addServer(ServerInterface $server)

Parameters

ServerInterface $server

at line 39
ServerInterface getServer(mixed $serverName)

Parameters

mixed $serverName

Return Value

ServerInterface

at line 47
ServerInterface[] getServers()

Return Value

ServerInterface[]