An implementation of php-extended/php-data-provider-interface that gets its data from php arrays
MIT License
An implementation of php-extended/php-data-provider-interface that gets its data from php arrays.
The installation of this library is made via composer and the autoloading of all classes of this library is made through their autoloader.
composer.phar
from their website.php composer.phar php-extended/php-data-provider-array ^7
You may use this library the following way :
use PhpExtended\DataProvider\ArrayObjectProvider;
$provider = new ArrayObjectProvider(['foo' => 'bar']);
foreach($provider->provideIterator() as $line => $data)
{
// do something with $data = ['foo' => 'bar']
}
MIT (See license file).