2b16c7bfe84994bcd67dce0e273e589b7cd0e8a1
3 namespace app\Controller\Github
;
5 use app\Controller\Github
;
7 class Index
extends Github
9 function __invoke(array $args = null) {
10 if ($this->checkToken()) {
11 list($repos, $links) = $this->github
->listRepos(
12 $this->app
->getRequest()->getQuery("page"),
13 new \app\Github\API\Repos\
ReposCallback($this->github
)
15 $this->app
->display("github/index", compact("repos", "links"));