Download the PHP package rquadling/typed-array without Composer
On this page you can find all versions of the php package rquadling/typed-array. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rquadling/typed-array
More information about rquadling/typed-array
Files in rquadling/typed-array
Download rquadling/typed-array
More information about rquadling/typed-array
Files in rquadling/typed-array
Vendor rquadling
Package typed-array
Short Description A simple base class for strongly typed arrays
License
Package typed-array
Short Description A simple base class for strongly typed arrays
License
Please rate this library. Is it a good library?
Informations about the package typed-array
Richard Quadling's TypedArray
A \RQuadling\TypedArray\TypedArray
allows you to have an array of non-scalar types enforced to a single type.
Now you can call $myItems = new ItemCollection;
. You can supply an array of Item
, or another collection of Item
s.
If you want to copy a collection, you will need to clone
it. When you do, all items are cloned.
If you want to add functionality to your collections, then create an abstract subclass with that functionality.
If you want to see a working example of that, take a look at example/example.php
.
All versions of typed-array with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
The package rquadling/typed-array contains the following files
Loading the files please wait ....