Leaf PHP

Console
in package

Aloe CLI ----- Smart and interactive console/generator for your leaf MVC applications

Tags
author

Michael Darko mychi.darko@gmail.com

copyright

2019-2022 Michael Darko

link
https://leafphp.dev/aloe-cli/
license

MIT

Table of Contents

Properties

$app  : mixed
Instance of symfony console app

Methods

__construct()  : mixed
register()  : void
Register a custom command
run()  : mixed
Run the console app

Properties

$app

Instance of symfony console app

private static mixed $app

Methods

__construct()

public __construct([mixed $version = 'v1.0' ]) : mixed
Parameters
$version : mixed = 'v1.0'

register()

Register a custom command

public static register(array<string|int, mixed>|Command $command) : void
Parameters
$command : array<string|int, mixed>|Command

: Command(s) to run

run()

Run the console app

public static run() : mixed

        
On this page

Search results