public wrap_by ( Callable | string $wrapper, mixed $thing ) : string | ||
$wrapper | Callable | string | An sprintf-style wrapper or a function that accepts the same arguments as the call to this |
$thing | mixed | One or more things to use as parameters to the sprintf/closure |
return | string | The resultant string produced by applying the closure or sprintf template |