AppInterface Interface
Aurora\App Namespace
Methods
run
Run the app
Parameters
-
array
$params
— Array of parameters
Return Value
mixed
Signature
public function run(array $params = [])
isConsole
Determines whether the app is running from the console of not
Return Value
bool
Signature
public function isConsole(): bool
createFromStub
Create an item from a stub
Parameters
-
string
$stub
— Stub path -
string
$path
— Destination path -
array
$replace
— Replacements array
Return Value
bool
Signature
public function createFromStub(string $stub, string $path, array $replace = []): bool