PHPackages                             bulldog/container - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. bulldog/container

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

bulldog/container
=================

PSR-11 Container.

v1.2.0(7y ago)112MITPHPPHP ^7.1

Since Aug 10Pushed 7y ago2 watchersCompare

[ Source](https://github.com/bulldogcreative/bulldog.container)[ Packagist](https://packagist.org/packages/bulldog/container)[ RSS](/packages/bulldog-container/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (3)Versions (7)Used By (0)

Bulldog Container
=================

[](#bulldog-container)

[![Travis (.org) branch](https://camo.githubusercontent.com/68a5d64d7fc430c0cdd77be2e79dab288346d953ec74bc997ea186a2bd6ee425/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f62756c6c646f6763726561746976652f62756c6c646f672e636f6e7461696e65722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/bulldogcreative/bulldog.container)[![Coveralls github](https://camo.githubusercontent.com/294bf3f6d2044b5251e40bf0ff9f72af4491259cf274851bbcbaee327f7e8f72/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f62756c6c646f6763726561746976652f62756c6c646f672e636f6e7461696e65722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/github/bulldogcreative/bulldog.container)[![Packagist](https://camo.githubusercontent.com/fd420c10be589d0fd3d57c27b03a9e6f6171c3db6d5014a90d9fbe6e7b669fc7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62756c6c646f672f636f6e7461696e65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bulldog/container)[![Packagist](https://camo.githubusercontent.com/c26932122cf69f0c27115dc3bf1c1218f66f3c85ce78cadfffa008d099db230c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62756c6c646f672f636f6e7461696e65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bulldog/container)

[API Documentation](https://bulldogcreative.github.io/bulldog.container).

Aka, the dog house. This container implements [PSR-11](https://www.php-fig.org/psr/psr-11/) and [ArrayAccess](https://secure.php.net/array_access).

Installation
------------

[](#installation)

```
composer require bulldog/container
```

Usage
-----

[](#usage)

You **should** check to see if the container `has` an entry for that ID before you try to `get` that entry.

### Key / Value

[](#key--value)

```
