$loggerContent
$loggerContent :
Data retriever for PHP event/error/exception logging.
retrieveField(string $field_name, string $value = null)
Retrieve data for a single log field and store it in the associated LoggerContent object.
string | $field_name | ID of log format field. |
string | $value | Provide an (optional) value to pass thru to the LoggerContent object, so allowing for the injection of external data. |
getUrlOrigin(boolean $use_forwarded_host = false) : string
Helper method to build complete URLs (might serve as an URI "prefix" providing protocol, ip-adress and port).
boolean | $use_forwarded_host | Resolve host with the HTTP_X_FORWARDED_HOST (proxy) method (default is false). |
URL origin, format: xyz://x.x.x.x:x/.
getInstance(array|mixed|null $inject = null) : \phpWTL\$_instance[$class]
Create new instance or give back already existing one.
array|mixed|null | $inject | Can be used to inject one or more parameter(s) into the constructor |
The instance of a derived class