A PHP Trait to create custom DataSets/Collections
composer require turbolabit/php-foreachable:dev-main
You can now use it:
<?php
$collListing = new Listing();
foreach($collListing as $oneItem) {
// ..
}
git clone git@github.com:TurboLabIt/php-foreachable.git
cd php-foreachable
bash script/test_runner.sh