Skip to content

harp-orm/lazy-array

Repository files navigation

Lazy Array

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version

An array which contents can be loaded only when needed

Instalation

Install via composer

composer require harp-orm/lazy-array

Usage

$arr = new LazyArray($loader);

// This is where the loader->load() method gets executed
echo $arr[2];

License

Copyright (c) 2015, Clippings Ltd. Developed by Ivan Kerin

Under BSD-3-Clause license, read LICENSE file.

About

An array which contents can be loaded only when needed

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages