From 876b94cccf8686a430b0d2c2512c6d3411ba9966 Mon Sep 17 00:00:00 2001 From: Alexander Klimov Date: Thu, 4 Sep 2014 16:51:50 +0200 Subject: [PATCH] Icinga\Protocol\File\FileReader: implement Icinga\Data\Selectable, ...\Fetchable and Countable --- library/Icinga/Protocol/File/FileReader.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/library/Icinga/Protocol/File/FileReader.php b/library/Icinga/Protocol/File/FileReader.php index 3f1ccc97b..f3603462e 100644 --- a/library/Icinga/Protocol/File/FileReader.php +++ b/library/Icinga/Protocol/File/FileReader.php @@ -4,12 +4,15 @@ namespace Icinga\Protocol\File; +use Icinga\Data\Fetchable; +use Icinga\Data\Selectable; +use Countable; use Zend_Config; /** * 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