Releases: paragrafid/php-kit
Releases · paragrafid/php-kit
v0.1.1
The collection should be able to be cast as a string.
use Paragraf\Kit\Collection;
(string) new Collection([1, 2, 3]);
// "[1,2,3]"
(string) new Collection([
'foo' => 123,
'bar' => [4, 5, 6],
'baz' => [
'foo' => '1',
],
]);
// "{"foo":123,"bar":[4,5,6],"baz":{"foo":"1"}}"Full Changelog: v0.1.0...v0.1.1
v0.1.0
Continuous improvements are better than delayed perfection.
This library comes with 2 usable classes:
Paragraf\Kit\Convertion::classParagraf\Kit\Collection::class
The docs will go after. Meanwhile, you can find the examples inside the tests folder.