intofilm/property-builder

Flattens and roughens arrays for serialisation

Maintainers

Package info

bitbucket.org/intofilm/property-builder

pkg:composer/intofilm/property-builder

Statistics

Installs: 4 770

Dependents: 1

Suggesters: 0

1.0.2 2018-12-06 14:35 UTC

This package is not auto-updated.

Last update: 2026-02-26 08:35:31 UTC


README

Encode and decode arrays of string to arrays of arrays and vice versa.

<?php
$builder = new \IntoFilm\Sdk\Common\Property\PropertyBuilder(); 
$builder->encode(['foo' => ['bar', 'baz']]);
// [
//    'foo.0' => 'bar',
//    'foo.1' => 'baz'
// ]