denis909 / php-array-object
0.2
2020-03-19 07:44 UTC
This package is auto-updated.
Last update: 2025-03-19 20:40:40 UTC
README
PHP ArrayAccess interface implementation.
Installation
composer require denis909/php-array-object:dev-master
Using
use denis909\ArrayObject\ArrayObject;
$obj = new ArrayObject(['param1' => 'value']);
echo $obj['param1'];
echo $obj->param1;
Testing
Windows
vendor\bin\phpunit.bat vendor\denis909\php-array-object\tests
Linux
./vendor/bin/phpunit vendor/denis909/php-array-object/tests