WP_CLI\Loggers
Execution::__construct()
Method of the class: Execution{}
No Hooks.
Return
null
. Nothing (null).
Usage
$Execution = new Execution(); $Execution->__construct( $in_color );
- $in_color(true|false)
- Whether or not to Colorize strings.
Default: false
Execution::__construct() Execution:: construct code WP-CLI 2.8.0-alpha
public function __construct( $in_color = false ) { // phpcs:ignore Generic.CodeAnalysis.UselessOverridingMethod.Found -- Provides a default value. parent::__construct( $in_color ); }