hepplerdotnet / arrayaccess
Trait to implement ArrayAccess
1.0
2017-09-08 11:28 UTC
Requires
- php: >=7.0.0
This package is auto-updated.
Last update: 2024-10-26 03:17: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.