adamale / object-collection
Collection class behaving like an array with item class validation.
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 16 137
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.2.0
Requires (Dev)
- phpunit/phpunit: ^8.2
This package is auto-updated.
Last update: 2024-09-19 09:15:52 UTC
README
PHP library that allows you to use collection class as an array (object storage) with validating object class during the insertion.
Requirements
PHP 7.2 or above.
Installation
Via Composer:
composer require adamale/object-collection
Usage
See the Example.php file in docs.
About
Author
Adam Aleksak kontakt@adamaleksak.pl
License
ObjectCollection is licensed under the MIT License - see the LICENSE
file for the details.