Token Processor walks through a Config structure and replaces all occurrences of tokens with supplied values.
Parameters: |
|
---|
:internal :
Return type: | Token |
---|
Set token registry.
Parameters: | array|Config|Traversable – Associative array of TOKEN => value to replace it with |
---|---|
Return type: | Token |
Throws : | ExceptionInvalidArgumentException |
Add new token.
Parameters: |
|
---|---|
Return type: | Token |
Throws : | ExceptionInvalidArgumentException |
Process
Parameters: | Config – |
---|---|
Return type: | Config |
Throws : | ExceptionInvalidArgumentException |