1 | <?php |
||
8 | class GithubController extends Controller |
||
9 | { |
||
10 | /** |
||
11 | * @var GitHubManager |
||
12 | */ |
||
13 | protected $github; |
||
14 | |||
15 | const REPO_NAME = 'laravel-emoji'; |
||
16 | const GITHUB_HANDLE = 'unicodeveloper'; |
||
17 | |||
18 | /** |
||
19 | * Initialize the Controller with necessary arguments |
||
20 | * |
||
21 | * @param GitHubManager $github |
||
22 | */ |
||
23 | public function __construct(GitHubManager $github) |
||
27 | |||
28 | /** |
||
29 | * @return mixed |
||
30 | */ |
||
31 | private function getRepoDetails() |
||
35 | |||
36 | /** |
||
37 | * @return mixed |
||
38 | */ |
||
39 | public function getPage() |
||
45 | } |
||
46 |