Download the PHP package piotrpress/typed-collection without Composer
On this page you can find all versions of the php package piotrpress/typed-collection. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download piotrpress/typed-collection
More information about piotrpress/typed-collection
Files in piotrpress/typed-collection
Download piotrpress/typed-collection
More information about piotrpress/typed-collection
Files in piotrpress/typed-collection
Vendor piotrpress
Package typed-collection
Short Description A strict typed collection for PHP with runtime validation for scalar and object-based item types.
License MIT
Homepage https://github.com/PiotrPress/typed-collection
Package typed-collection
Short Description A strict typed collection for PHP with runtime validation for scalar and object-based item types.
License MIT
Homepage https://github.com/PiotrPress/typed-collection
Please rate this library. Is it a good library?
Informations about the package typed-collection
Typed Collection
A strict typed collection for PHP with runtime validation for scalar and object-based item types.
Installation
Example
Usage
Parameters
type- the type of the collection. Can beClass,InterfaceorEnumname or one of the following:Type:StringType:IntType:FloatType:BoolType:ArrayType:ObjectType:CallableType:Iterable
values- an array of values to initialize the collection with. All values must be of the specified type.
Methods
TypedCollection extends ArrayObject, for more information about the methods available, please refer to the PHP documentation.
Development
Requirements
- PHP
>= 8.1
License
MIT
All versions of typed-collection with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
The package piotrpress/typed-collection contains the following files
Loading the files please wait ...