Darken\Console\Commands\Build

class

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.

Properties

$clear bool

Methods

Property Details

public bool $clear Build.php#27

Method Details

public void run (Darken\Console\Application $app) Build.php#29
$app Darken\Console\Application
Return void
public bool createFile (Darken\Builder\FileSaveInterface $save) Build.php#103
$save Darken\Builder\FileSaveInterface
Return bool
public bool saveFile (string $file, string $content) Build.php#110
$file string
$content string
Return bool