aatis/parameter-bag

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

Generic ParameterBag component of Aatis

1.0.0 2025-08-04 15:08 UTC

This package is auto-updated.

Last update: 2025-08-04 15:09:16 UTC


README

Installation

composer require aatis/parameter-bag

Usage

ParameterBag

The ParameterBag class is a custom array with the following methods:

  • has($key) to check if a key exists
  • get($key) to get a value
  • all() to get all values as an array
  • set($key, $value) to set a value
  • add($key, $value) to add a value to an existing or non existing key
  • remove($key) to remove a key