aboutsummaryrefslogtreecommitdiffhomepage
path: root/WpfTest/RemoteFetchable.php
diff options
context:
space:
mode:
Diffstat (limited to 'WpfTest/RemoteFetchable.php')
-rw-r--r--WpfTest/RemoteFetchable.php21
1 files changed, 0 insertions, 21 deletions
diff --git a/WpfTest/RemoteFetchable.php b/WpfTest/RemoteFetchable.php
deleted file mode 100644
index 0782e7e..0000000
--- a/WpfTest/RemoteFetchable.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-namespace WpfTest;
-
-interface RemoteFetchable {
- /**
- * Fetches the object by its URI from the remote server.
- * @param string $uri the URI of the remote object
- * @param bool $autoSave whether to automatically save the fetched object to the database
- * @return static
- */
- //public static function fetchFromRemote(string $uri, bool $autoSave);
-
- /**
- * Finds the object locally by its URI or fetches it remotely if not found.
- * @param string $uri the URI identifier of the object
- * @param bool $autoSave whether to automatically save the object (if fetched) to the database
- * @param bool $forceRefetch whether to forcibly refetch the object even if it's in the database
- * @return static
- */
- public static function findByUri(string $uri, bool $autoSave = true, bool $forceRefetch = false);
-} \ No newline at end of file