| 1 | <?php |
||
| 16 | class ForgePublishRCParser |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * File to parse. |
||
| 20 | * |
||
| 21 | * @var |
||
| 22 | */ |
||
| 23 | protected $file; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * LlumRCParser constructor. |
||
| 27 | * @param $file |
||
| 28 | */ |
||
| 29 | public function __construct(ForgePublishRCFile $file) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Parse llumrc file. |
||
| 36 | * |
||
| 37 | * @return array |
||
| 38 | */ |
||
| 39 | public function parse() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Get domain suffix from config file. |
||
| 46 | * |
||
| 47 | * @return String |
||
| 48 | */ |
||
| 49 | public function getDomainSuffix() |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Get default shell from config file. |
||
| 59 | * |
||
| 60 | * @return String |
||
| 61 | */ |
||
| 62 | public function getDefaultShell() |
||
| 69 | } |
||
| 70 |