Darken\Console\Commands\Build

class

Compile Builder 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.

Methods

Method Details

public Darken\Enum\ConsoleExit run (Darken\Console\Application $app) Build.php#29
$app Darken\Console\Application
Return Darken\Enum\ConsoleExit
public bool createFile (Darken\Builder\FileSaveInterface $save) Build.php#117
$save Darken\Builder\FileSaveInterface
Return bool
public bool saveFile (string $file, string $content) Build.php#124
$file string
$content string
Return bool