diff options
Diffstat (limited to 'classes/ivirtualfeed.php')
-rw-r--r-- | classes/ivirtualfeed.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/classes/ivirtualfeed.php b/classes/ivirtualfeed.php new file mode 100644 index 000000000..ccd0680fc --- /dev/null +++ b/classes/ivirtualfeed.php @@ -0,0 +1,11 @@ +<?php +interface IVirtualFeed { + function get_unread(int $feed_id) : int; + function get_total(int $feed_id) : int; + /** + * @param int $feed_id + * @param array<string,int|string|bool> $options + * @return array<int,int|string> + */ + function get_headlines(int $feed_id, array $options) : array; +} |