Utils
in package
Description of Utils
Tags
Table of Contents
- convertArgsToString() : mixed
- getEnvVar() : mixed
- getIdentityEndpoint() : mixed
- getRegion() : mixed
- help() : mixed
- Outputs help.
- log() : mixed
- Basic logging function.
- logd() : mixed
- logf() : mixed
- A logging function similar to sprintf(). Accepts a format string as a first argument, and an array as a second argument to stock the format.
Methods
convertArgsToString()
public
static convertArgsToString(array<string|int, mixed> $args) : mixed
Parameters
- $args : array<string|int, mixed>
Return values
mixed —getEnvVar()
public
static getEnvVar(mixed $name[, mixed $prefix = Enum::ENV_PREFIX ]) : mixed
Parameters
- $name : mixed
- $prefix : mixed = Enum::ENV_PREFIX
Return values
mixed —getIdentityEndpoint()
public
static getIdentityEndpoint() : mixed
Return values
mixed —getRegion()
public
static getRegion() : mixed
Return values
mixed —help()
Outputs help.
public
static help() : mixed
Return values
mixed —log()
Basic logging function.
public
static log(string $string) : mixed
Parameters
- $string : string
Return values
mixed —logd()
public
static logd() : mixed
Return values
mixed —logf()
A logging function similar to sprintf(). Accepts a format string as a first argument, and an array as a second argument to stock the format.
public
static logf() : mixed