mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 15:24:05 +02:00
Icinga\Protocol\File\FileReader: implement Icinga\Data\Selectable, and Countable
This commit is contained in:
parent
3c4a719feb
commit
70146c43e7
@ -4,12 +4,14 @@
|
|||||||
|
|
||||||
namespace Icinga\Protocol\File;
|
namespace Icinga\Protocol\File;
|
||||||
|
|
||||||
|
use Icinga\Data\Selectable;
|
||||||
|
use Countable;
|
||||||
use Zend_Config;
|
use Zend_Config;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Read file line by line
|
* Read file line by line
|
||||||
*/
|
*/
|
||||||
class FileReader
|
class FileReader implements Selectable, Countable
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* A PCRE string with the fields to extract from the file's lines as named subpatterns
|
* 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