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

This commit is contained in:
Alexander Klimov 2014-09-04 16:59:37 +02:00
parent 3c4a719feb
commit 70146c43e7
1 changed files with 3 additions and 1 deletions

View File

@ -4,12 +4,14 @@
namespace Icinga\Protocol\File;
use Icinga\Data\Selectable;
use Countable;
use Zend_Config;
/**
* 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