implements |
ConfigInterface |
---|
Base Config impementation to use out-of-the-box
You may extend with constructor which will take Yate core location and secrets from whereever you want: file, environments, e.t.c.
Methods | ||
---|---|---|
public
|
withNode(string[] $nodes, string $uri, string $secret): self
|
# |
public
|
withNodeList(array[] $nodes): self
|
# |
public
|
getNodeUri(string $node): string
|
# |
public
|
getNodeSecret(string $node): string
|
# |
Properties | |||
---|---|---|---|
protected
|
array
|
$uris = []
|
# |
protected
|
array
|
$secrets = []
|
# |