src/core/AbstractCliCtrl.php
protected function printInfo(
        $msg,
        bool $withTime = true,
        ?string $fontColor = self::FONT_COLOR_MAP['lightGreen'],
        ?string $bgColor = null
    ): void {
        $this->print($this->getColoredMsg($msg, $fontColor, $bgColor), $withTime);
    }
protected function printInfo(
        $msg,
        bool $withTime = true,
        ?string $fontColor = self::FONT_COLOR_MAP['lightGreen'],
        ?string $bgColor = null
    ): void {
        $this->print($this->getColoredMsg($msg, $fontColor, $bgColor), $withTime);
    }
protected function printInfo ( $ msg , bool $ withTime = true , ? string $ fontColor = self :: FONT_COLOR_MAP [ 'lightGreen' ] , ? string $ bgColor = null ) : void { $ this -> print ( $ this -> getColoredMsg ( $ msg , $ fontColor , $ bgColor ) , $ withTime ) ; }
The method prints important information to the console.
@param type $msg Message to print.
@param bool $withTime Flag to print with previous timestamp.
@param string|null $fontColor The font color.
@param string|null $bgColor The background color.
@return void
The method prints important information to the console .