yet another github api refactoring
[pharext/pharext.org] / app / Github / API / Callback.php
diff --git a/app/Github/API/Callback.php b/app/Github/API/Callback.php
new file mode 100644 (file)
index 0000000..04b9ed6
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+
+namespace app\Github\API;
+
+use app\Github\API;
+
+abstract class Callback
+{
+       protected $api;
+       
+       abstract function __invoke($json, $links = null);
+       
+       function __construct(API $api) {
+               $this->api = $api;
+       }
+}