Skip to content
This repository has been archived by the owner on Sep 28, 2018. It is now read-only.

Added `format()`

Latest
Compare
Choose a tag to compare
@brad-jones brad-jones released this 30 Nov 23:56
· 1 commit to master since this release

While the StringBuilder has sprintf format helpers, the main Str class did not. Well now it does.

Str::s('There are %d monkeys in the %s')->format([5, 'tree']); // There are 5 monkeys in the tree