-
getModules() : void
-
-
Console constructor
-
Add module with its dir path, initial class name and namespace
-
Handle an command-line request.
-
Returns the given text with the correct color codes for a foreground and optionally a background color.
-
Returns info text.
-
Returns success text.
-
Returns warning text.
-
Returns error text.
-
public function getModules()
-
public function setModules(variable $modules)
-
public function __construct(variable $di)
Console constructor -
public function addModule(string $name, array $options)
Add module with its dir path, initial class name and namespace -
public function handle(variable $arguments)
Handle an command-line request. -
public function color(string $text, int $color, int $decoration, int $bgColor)
Returns the given text with the correct color codes for a foreground and optionally a background color. -
public function info(string $text)
Returns info text. -
public function success(string $text)
Returns success text. -
public function warning(string $text)
Returns warning text. -
public function error(string $text)
Returns error text.