mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
Icinga\Protocol\File\FileReader: implement Icinga\Data\Selectable, ...\Fetchable and Countable
This commit is contained in:
parent
b6b16e25e9
commit
876b94cccf
@ -4,12 +4,15 @@
|
|||||||
|
|
||||||
namespace Icinga\Protocol\File;
|
namespace Icinga\Protocol\File;
|
||||||
|
|
||||||
|
use Icinga\Data\Fetchable;
|
||||||
|
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, Fetchable, 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