Listener
class Listener
This class presents "listeners" section from config
Methods
__construct(string $_listener, string $pass, Tls|null $_tls = null, Forwarded|null $_forwarded = null)
No description
string
getLink()
Get link
int
getPort()
Get port
array
getForwarded()
Get forwarded
getPass()
Get pass
array
getTls()
Get tls section
mixed
getListener()
Get listener
parseFromArray(array $data)
Parse data from array
array
toArray()
Return listener as array
void
setTls(Tls|null $tls)
No description
void
setForwarded(Forwarded|null $forwarded)
No description
string|false
toJson()
Return Listener as JSON
Details
at line 32
__construct(string $_listener, string $pass, Tls|null $_tls = null, Forwarded|null $_forwarded = null)
No description
at line 49
string
getLink()
Get link
at line 82
int
getPort()
Get port
at line 92
array
getForwarded()
Get forwarded
at line 102
ListenerPass
getPass()
Get pass
at line 112
array
getTls()
Get tls section
at line 122
mixed
getListener()
Get listener
at line 132
Listener
parseFromArray(array $data)
Parse data from array
at line 154
array
toArray()
Return listener as array
at line 174
void
setTls(Tls|null $tls)
No description
at line 182
void
setForwarded(Forwarded|null $forwarded)
No description
at line 192
string|false
toJson()
Return Listener as JSON