@@ 937-946 (lines=10) @@ | ||
934 | * @return boolean |
|
935 | */ |
|
936 | ||
937 | public function installLangs() |
|
938 | { |
|
939 | $nameSmall = snake_case($this->getParsedNameInput()); |
|
940 | ||
941 | $dashboardLangFile = file_get_contents(__DIR__ . '/../Stubs/Languages/dashboard.stub'); |
|
942 | file_put_contents($this->getLangsFolderPath().'/'.$nameSmall.'_dashboard.php', $dashboardLangFile); |
|
943 | ||
944 | return true; |
|
945 | ||
946 | } |
|
947 | ||
948 | /** |
|
949 | * Install Project Config. |
|
@@ 954-963 (lines=10) @@ | ||
951 | * @return boolean |
|
952 | */ |
|
953 | ||
954 | public function installProjectConfig() |
|
955 | { |
|
956 | $nameSmall = snake_case($this->getParsedNameInput()); |
|
957 | ||
958 | $projectConfigFile = file_get_contents(__DIR__ . '/../Stubs/Config/config.stub'); |
|
959 | file_put_contents($this->getConfigsFolderPath().'/'.$nameSmall.'_config.php', $projectConfigFile); |
|
960 | ||
961 | return true; |
|
962 | ||
963 | } |
|
964 | ||
965 | /** |
|
966 | * Publish Prologue Alert |