projects
/
pharext
/
pharext.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
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
+++ b/
app/Github/API/Callback.php
@@ -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;
+ }
+}