/plugin/findologicxmlexport/vendor/hoa/iterator/ |
H A D | Buffer.php | 92 public function __construct(\Iterator $iterator, $bufferSize) argument 94 $this->_iterator = $iterator;
|
H A D | CHANGELOG.md | 17 * Iterator: New `Buffer` iterator. (Ivan Enderlin, 2016-01-21T00:55:07+01:00) 62 * Implement the `Lookbehind` iterator. (Ivan Enderlin, 2014-09-29T21:23:54+02:00) 64 * Remove the `Recursive\Tree` iterator. (Ivan Enderlin, 2014-11-07T14:04:30+01:00) 71 * Rewrite the `Lookahead` iterator. (Ivan Enderlin, 2014-09-29T20:50:34+02:00) 73 * Add the `CallbackGenerator` iterator. (Ivan Enderlin, 2014-09-29T09:34:07+02:00)
|
H A D | Demultiplexer.php | 80 public function __construct(\Traversable $iterator, $demuxer) argument 82 if ($iterator instanceof \IteratorAggregate) { 83 $iterator = $iterator->getIterator(); 86 $this->_iterator = $iterator;
|
H A D | Lookahead.php | 84 public function __construct(\Iterator $iterator) argument 86 $this->_iterator = $iterator;
|
H A D | Lookbehind.php | 77 public function __construct(\Iterator $iterator) argument 79 $this->_iterator = $iterator;
|
H A D | Multiple.php | 69 \Iterator $iterator, 73 $out = parent::attachIterator($iterator, $infos);
|
H A D | README.md | 10 … href="https://packagist.org/packages/hoa/iterator"><img src="https://img.shields.io/packagist/dt/… 36 require [`hoa/iterator`](https://packagist.org/packages/hoa/iterator): 39 $ composer require hoa/iterator '~2.0' 69 [`Iterator`](http://php.net/class.iterator). 71 ### External iterator 77 ### Traversable to iterator 119 content of an iterator. It extends 126 function ($value, $key, $iterator) { 281 `Hoa\Iterator\Demultiplexer` demuxes result from another iterator. This iterator 389 given buffer size over another iterator: [all …]
|
H A D | RegularExpression.php | 171 \Iterator $iterator, 177 parent::__construct($iterator);
|
H A D | Repeater.php | 87 public function __construct(\Traversable $iterator, $n, $body = null) argument 97 if ($iterator instanceof \IteratorAggregate) { 98 $iterator = $iterator->getIterator(); 101 $this->_iterator = $iterator;
|
/plugin/findologicxmlexport/vendor/hoa/iterator/Recursive/ |
H A D | Mock.php | 64 public function __construct(\Traversable $iterator) argument 66 if ($iterator instanceof \IteratorAggregate) { 67 $iterator = $iterator->getIterator(); 70 $this->_iterator = $iterator;
|
H A D | RegularExpression.php | 71 \RecursiveIterator $iterator, 77 parent::__construct($iterator, $regex, $mode, $flags, $pregFlags);
|
/plugin/findologicxmlexport/vendor/hoa/iterator/Test/Unit/ |
H A D | Buffer.php | 103 ->when($result = iterator_to_array($iterator)) 110 $iterator::BUFFER_KEY => 3, 111 $iterator::BUFFER_VALUE => 'd' 114 $iterator::BUFFER_KEY => 4, 115 $iterator::BUFFER_VALUE => 'e' 128 ->when($result = iterator_to_array($iterator)) 135 $iterator::BUFFER_KEY => 0, 139 $iterator::BUFFER_KEY => 1, 143 $iterator::BUFFER_KEY => 2, 147 $iterator::BUFFER_KEY => 3, [all …]
|
H A D | CallbackFilter.php | 85 function ($value, $key, $iterator) use ( 92 ->object($iterator) 164 $iterator = new LUT\Recursive\Iterator($filter) 166 ->when($result = iterator_to_array($iterator, false)) 187 $iterator = new LUT\Recursive\Iterator($filter) 189 ->when($result = iterator_to_array($iterator))
|
H A D | CallbackGenerator.php | 56 $iterator = new LUT\CallbackGenerator(function ($key) { 59 $limit = new LUT\Limit($iterator, 0, 5)
|
H A D | Counter.php | 55 ->given($iterator = new LUT\Counter(0, 12, 3)) 56 ->when($result = iterator_to_array($iterator)) 65 ->given($iterator = new LUT\Counter(6, 12, 3)) 66 ->when($result = iterator_to_array($iterator)) 84 ->given($iterator = new LUT\Counter(0, 12, 13)) 85 ->when($result = iterator_to_array($iterator))
|
H A D | Directory.php | 92 ->when($result = $iterator->current()) 98 $iterator->next(), 99 $result = $iterator->current() 106 $iterator->seek(3), 107 $result = $iterator->current() 114 $iterator->seek(2), 115 $result = $iterator->current() 143 foreach ($iterator as $file) { 174 $iterator = new LUT\Directory( 181 foreach ($iterator as $file) { [all …]
|
H A D | FileSystem.php | 61 $iterator = new LUT\FileSystem($root), 64 ->when(function () use ($iterator, &$result) { 65 foreach ($iterator as $pathname => $file) { 92 $iterator = new LUT\FileSystem( 99 ->when(function () use ($iterator, $splFileInfo, &$result) { 100 foreach ($iterator as $file) {
|
H A D | Infinite.php | 56 $iterator = new LUT\Map(['a']), 57 $infinite = new LUT\Infinite($iterator),
|
H A D | IteratorIterator.php | 56 $iterator = new LUT\Map([]), 57 $iteratoriterator = new LUT\IteratorIterator($iterator) 62 ->isIdenticalTo($iterator); 69 $iterator = new LUT\Map(['a', 'b', 'c']), 70 $iteratoriterator = new LUT\IteratorIterator($iterator) 86 $iterator = new LUT\Recursive\Map($array), 88 $iterator, 106 $iterator = new LUT\Recursive\Map($array), 108 $iterator, 135 $iterator = new LUT\Recursive\Map($array), [all …]
|
H A D | Limit.php | 60 $iterator = new LUT\Map(self::$_dummyArray), 61 $limit = new LUT\Limit($iterator, 2, 3) 76 ->given($iterator = new LUT\Map(self::$_dummyArray)) 77 ->exception(function () use ($iterator) { 78 new LUT\Limit($iterator, -2, 3); 87 $iterator = new LUT\Map(self::$_dummyArray), 88 $limit = new LUT\Limit($iterator, 0, 0)
|
H A D | Lookahead.php | 56 $iterator = new LUT\Map(['a', 'b', 'c']), 57 $lookahead = new LUT\Lookahead($iterator) 59 ->when($result = iterator_to_array($iterator)) 69 $iterator = new LUT\Map(['a', 'b', 'c']), 70 $lookahead = new LUT\Lookahead($iterator) 128 $iterator = new LUT\Map(['a', 'b', 'c']), 129 $lookahead = new LUT\Lookahead($iterator) 170 $iterator = new LUT\Mock(), 171 $lookahead = new LUT\Lookahead($iterator)
|
H A D | Lookbehind.php | 56 $iterator = new LUT\Map(['a', 'b', 'c']), 57 $lookbehind = new LUT\Lookbehind($iterator) 59 ->when($result = iterator_to_array($iterator)) 69 $iterator = new LUT\Map(['a', 'b', 'c']), 70 $lookbehind = new LUT\Lookbehind($iterator) 128 $iterator = new LUT\Map(['a', 'b', 'c']), 129 $lookbehind = new LUT\Lookbehind($iterator) 164 $iterator = new LUT\Mock(), 165 $lookbehind = new LUT\Lookbehind($iterator)
|
H A D | Map.php | 59 ->given($iterator = new LUT\Map(self::$_dummyArray)) 60 ->when($result = iterator_to_array($iterator)) 69 ->given($iterator = new LUT\Map()) 70 ->when($result = iterator_to_array($iterator)) 85 $iterator = new LUT\Recursive\Map($array) 87 ->when(function () use ($iterator) { 88 foreach ($iterator as $key => $value) { 91 ->boolean($iterator->hasChildren()) 93 ->object($children = $iterator->getChildren()) 99 ->boolean($iterator->hasChildren()) [all …]
|
H A D | Mock.php | 55 ->given($iterator = new LUT\Mock()) 56 ->when($result = iterator_to_array($iterator)) 65 ->when($iterator = new LUT\Recursive\Mock(new LUT\Mock())) 67 ->variable($iterator->getChildren()) 69 ->boolean($iterator->hasChildren())
|
H A D | NoRewind.php | 57 $iterator = new LUT\Map($dummyArray), 58 $norewind = new LUT\NoRewind($iterator)
|