Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/felixgirault/bud

Extends the Pimple container with alternative access methods.
https://github.com/felixgirault/bud

Last synced: about 1 month ago
JSON representation

Extends the Pimple container with alternative access methods.

Awesome Lists containing this project

README

        

Bud
===

Bud extends the [Pimple](https://github.com/fabpot/Pimple) container with alternative access methods.

Examples
--------

Standard Pimple methods:

```php
isset($Container['key']);
$Container['key'];
$Container['key'] = $value;
unset($Container['key']);
```

Magic methods:

```php
isset($Container->key);
$Container->key;
$Container->key = $value;
unset($Container->key);
```

Regular methods:

```php
$Container->has('key');
$Container->get('key');
$Container->set('key', $value);
$Container->del('key');
```