PHPackages                             irfantoor/collection - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. irfantoor/collection

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

irfantoor/collection
====================

Collection implementing ArrayAccess, Countable and IteratorAggregate

3.0.2(3y ago)02652MITPHPPHP &gt;=7.3

Since Dec 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/irfantoor/collection)[ Packagist](https://packagist.org/packages/irfantoor/collection)[ RSS](/packages/irfantoor-collection/feed)WikiDiscussions main Synced 4w ago

READMEChangelogDependencies (1)Versions (19)Used By (2)

IrfanTOOR\\Collection
=====================

[](#irfantoorcollection)

Collection implementing ArrayAccess, Countable and IteratorAggregate

The identifiers can use dot notation to access an identifier down a hierarchical level, e.g. to access `$config['debug']['log']['file']` you can code in doted notation as: `$config['debug.log.file']`

Initializing
------------

[](#initializing)

You can initialize by passing an array of key value pairs while creating a new instance.

```
