Class Build This class is used to define the build command for the console application. It is used to compile the files in the building folders and save them to the build output folder. It also creates the routes file for the application if the config implements the PagesConfigInterface.
$clear | bool |
---|
run(Darken\Console\Application $app) |
---|
createFile(Darken\Builder\FileSaveInterface $save) |
saveFile(string $file, string $content) |
$app | Darken\Console\Application |
Return | void |
$save | Darken\Builder\FileSaveInterface |
Return | bool |
$file | string |
$content | string |
Return | bool |