$currTemplate
$currTemplate : string
Holds the template which is currently in use.
Manages html outputs.
$currTemplate : string
Holds the template which is currently in use.
$replacements : array
Holds key => value pairs for substitution (i.e., every occurrence of key should be replaced by value).
$serverUrl : string
Holds the server url which is defined in the docker-compose.yml file.
addReplacement(string $key, string $value) : \Template
Adds a new replacement to the replacements array.
string | $key | The value which should be replaced. |
string | $value | The substitution for the value which should be replaced. |
Returns this object for method chaining.