hepplerdotnet/arrayaccess

Trait to implement ArrayAccess

Maintainers

Package info

github.com/HepplerDotNet/ArrayAccess

pkg:composer/hepplerdotnet/arrayaccess

Statistics

Installs: 791

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

1.0 2017-09-08 11:28 UTC

This package is auto-updated.

Last update: 2026-02-26 06:20:27 UTC


README

PHP Trait to implement ArrayAccess

Installation

First, pull in the package through Composer.

Run composer require hepplerdotnet/arrayaccess

And then include the Trait within your Class to implement ArrayAccess.

class Foo implements \ArrayAccess
{
use \HepplerDotNet\ArrayAccess\ArrayAccess;
...
}

That's it, your Class can now use ArrayAccess.