public function printMessage($string, $type = 'comment', $force = true): void
    {
        if ($this->isPrintable($force)) {
            echo $this->getMessageWithColor($string, $this->getMessageBackgroundColor($type));
            echo "\n";
        }
    }
public function printMessage($string, $type = 'comment', $force = true): void
    {
        if ($this->isPrintable($force)) {
            echo $this->getMessageWithColor($string, $this->getMessageBackgroundColor($type));
            echo "\n";
        }
    }
public function printMessage ( $ string , $ type = 'comment' , $ force = true ) : void { if ( $ this -> isPrintable ( $ force ) ) { echo $ this -> getMessageWithColor ( $ string , $ this -> getMessageBackgroundColor ( $ type ) ) ; echo "\n" ; } }
Pretty print information messages to console

@param string $string
@param string $type
@param bool   $force
Pretty print information messages to console