harp-orm/lazy-array

An array which contents can be loaded only when needed

Installs: 20

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/harp-orm/lazy-array

0.1.1 2015-09-04 08:42 UTC

This package is auto-updated.

Last update: 2025-09-21 23:05:55 UTC


README

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.