Requestor extends AbstractServiceProvider
Requestor service provider
Table of Contents
Properties
| $container |
Methods
| register() | {@inheritdoc} |
| getIp() | Retrieves the IP address of the connected client from the server |
Methods
register()
{@inheritdoc}
public
register(Container $container) : mixed
Parameters
- $container : Container
getIp()
Retrieves the IP address of the connected client from the server
private
getIp(Container $container) : null|string
Parameters
- $container : Container
-
The container
Return values
null|string —The IP address of the client