projects
/
pharext
/
pharext.org
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
finished 1st round of refactoring
[pharext/pharext.org]
/
app
/
Github
/
API
/
Callback.php
1
<
?php
2
3
namespace
app\Github\API
;
4
5
use
app\Github\API
;
6
7
abstract class
Callback
8
{
9
protected
$api
;
10
11
abstract protected function
exec
(
$json
,
$links
=
null
);
12
13
function
__construct
(
API
$api
) {
14
$this
->
api
=
$api
;
15
}
16
17
function
__invoke
(
$result
) {
18
return
$this
->
exec
(...
$result
);
19
}
20
}