Icinga\Protocol\File\FileReader: implement Icinga\Data\Selectable, ...\Fetchable and Countable

This commit is contained in:
Alexander Klimov 2014-09-04 16:51:50 +02:00
parent b6b16e25e9
commit 876b94cccf

View File

@ -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