diff options
author | Andrew Dolgov <[email protected]> | 2023-10-25 12:55:09 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-10-25 12:55:09 +0300 |
commit | 865ecc87963dc3b26e66296616eef2a1cc41ac3f (patch) | |
tree | bf2ecd8a391103bdb2c8b70cd33c47467310754b /classes/IVirtualFeed.php | |
parent | 0a5507d3bd79d04c860455664f919bf8e7274fda (diff) |
move to psr-4 autoloader
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; +} |