1 | <?php |
||
16 | class LlumRCParser |
||
17 | { |
||
18 | |||
19 | /** |
||
20 | * File to parse. |
||
21 | * |
||
22 | * @var |
||
23 | */ |
||
24 | protected $file; |
||
25 | |||
26 | /** |
||
27 | * LlumRCParser constructor. |
||
28 | * @param $file |
||
29 | */ |
||
30 | public function __construct(LlumRCFile $file) |
||
34 | |||
35 | /** |
||
36 | * Parse llumrc file. |
||
37 | * |
||
38 | * @return array |
||
39 | */ |
||
40 | public function parse() |
||
44 | |||
45 | /** |
||
46 | * Get credentials from config file. |
||
47 | * |
||
48 | * @return array |
||
49 | */ |
||
50 | public function getCredentials() |
||
57 | |||
58 | /** |
||
59 | * Get github username from config file. |
||
60 | * |
||
61 | * @return array |
||
62 | */ |
||
63 | public function getGitHubUsername() |
||
70 | |||
71 | |||
72 | } |