|
Plop
A simple logging library for PHP
|
An interpolator that complies with the PSR-3 specification. More...
Inheritance diagram for Plop\Interpolator\Psr3:Public Member Functions | |
| interpolate ($message, array $args=array()) | |
An interpolator that complies with the PSR-3 specification.
| Plop\Interpolator\Psr3::interpolate | ( | $message, | |
| array | $args = array() |
||
| ) |
Interpolate percent-sequence-variables in a message.
| string | $msg | The message that serves as the model for the result. It may refer to the values of variables dynamically using special formatting sequences. |
| array | $args | (optional) Associative array of values that will be dynamically replaced in the message. Defaults to an empty array. |
| string | The message with all of its formatting-sequences replaced with their proper value. |
Implements Plop\InterpolatorInterface.