Skip to content

HepplerDotNet/ArrayAccess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

ArrayAccess Trait

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.

About

PHP Trait to implement ArrayAccess

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages