File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
- [ ![ Build Status] ( https://travis-ci.org/crazycodr/previous-current-iterator.svg )] ( https://travis-ci.org/crazycodr/previous-current-iterator )
1
+ [ ![ Build Status] ( https://travis-ci.org/crazycodr/previous-current-iterator.svg )] ( https://travis-ci.org/crazycodr/previous-current-iterator ) [ ![ Latest Stable Version ] ( https://poser.pugx.org/crazycodr/previous-current-iterator/v/stable )] ( https://packagist.org/packages/crazycodr/previous-current-iterator ) [ ![ Total Downloads ] ( https://poser.pugx.org/crazycodr/previous-current-iterator/downloads )] ( https://packagist.org/packages/crazycodr/previous-current-iterator ) [ ![ Latest Unstable Version ] ( https://poser.pugx.org/crazycodr/previous-current-iterator/v/unstable )] ( https://packagist.org/packages/crazycodr/previous-current-iterator ) [ ![ License ] ( https://poser.pugx.org/crazycodr/previous-current-iterator/license )] ( https://packagist.org/packages/crazycodr/previous-current-iterator )
2
2
3
3
# Previous/Current iterator
4
4
Allows iteration over an array but returns two items at a time stepping by one item at a time. Thus, the iterator for
@@ -78,4 +78,4 @@ foreach(new CurrentNextIterator($data) as $keys => $values) {
78
78
79
79
# Use cases
80
80
81
- Practical if you need to compare two items together in a previous vs current or current vs next manner.
81
+ Practical if you need to compare two items together in a previous vs current or current vs next manner.
You can’t perform that action at this time.
0 commit comments