mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 09:14:08 +02:00
Icinga\Protocol\File\FileIterator: extend EnumeratingFilterIterator
This commit is contained in:
parent
081d8eecfc
commit
e192b939c2
@ -4,7 +4,7 @@
|
||||
|
||||
namespace Icinga\Protocol\File;
|
||||
|
||||
use FilterIterator;
|
||||
use Icinga\Util\EnumeratingFilterIterator;
|
||||
use Icinga\Util\File;
|
||||
|
||||
/**
|
||||
@ -12,7 +12,7 @@ use Icinga\Util\File;
|
||||
*
|
||||
* Iterate over a file, yielding only fields of non-empty lines which match a PCRE expression
|
||||
*/
|
||||
class FileIterator extends FilterIterator
|
||||
class FileIterator extends EnumeratingFilterIterator
|
||||
{
|
||||
/**
|
||||
* A PCRE string with the fields to extract from the file's lines as named subpatterns
|
||||
|
Loading…
x
Reference in New Issue
Block a user