WP_CLI\Loggers
Execution::__construct()
Метод класса: Execution{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Execution = new Execution(); $Execution->__construct( $in_color );
- $in_color(true|false)
- Whether or not to Colorize strings.
По умолчанию: false
Код Execution::__construct() Execution:: construct 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 ); }