Skip to content
This repository was archived by the owner on Apr 1, 2021. It is now read-only.

fuktommy/IteratorPipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

IteratorPipe

PHP library to use iterators and arrays with method chain.

Sample

$pipe = IteratorPipe::factory(array(11, 12, 13, 14))
      ->filter(function($k, $v) {return $v % 2 === 0; })
      ->map(function($k, $v) {return $v / 2; });
$pipe->toArray(); // array(1 => 6, 3 => 7)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages