Documentation

Console
in package

Console event class

Tags
category

Pop\Kettle

author

Nick Sagona, III nick@popphp.org

copyright

Copyright (c) 2009-2026 Nick Sagona, III

license

https://www.popphp.org/license New BSD License

version
3.0.0

Table of Contents

Properties

$omitCommands  : array<string|int, mixed>
Production check omit commands

Methods

maintenanceDisplay()  : void
Display maintenance alert
productionDisplay()  : void
Display production alert and prompt

Properties

$omitCommands

Production check omit commands

protected static array<string|int, mixed> $omitCommands = ['pop:env', 'pop:status', 'help', 'version', 'queue:jobs', 'queue:tasks', 'queue:work', 'queue:scheduler']

Methods

maintenanceDisplay()

Display maintenance alert

public static maintenanceDisplay([Console|null $console = null ]) : void
Parameters
$console : Console|null = null

productionDisplay()

Display production alert and prompt

public static productionDisplay([Console|null $console = null ]) : void
Parameters
$console : Console|null = null

        
On this page

Search results