starbug/bundle

There is no license information available for the latest version (v1.1) of this package.

A simple object abstraction for working with nested array structures.

Maintainers

Package info

github.com/cogentParadigm/starbug-bundle

pkg:composer/starbug/bundle

Statistics

Installs: 8 102

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 0

v1.1 2021-01-26 02:46 UTC

This package is auto-updated.

Last update: 2026-02-26 13:48:53 UTC


README

The Bundle class is a simple object abstraction for working with nested array structures.

Basic example:

use Starbug\Bundle\Bundle;

$bundle = new Bundle();

$bundle->set("user", "first_name", "Abdul");

$bundle->get("user", "first_name"); // returns Abdul
$bundle->has("user", "first_name"); // return true


$bundle->set("user", "address", "city", "Vancouver");

$bundle->get("user", "address", "city"); // returns Vancouver
$bundle->has("user", "address", "city"); // returns true

See the specification for more details.