public function yellow(bool $background = null): void
    {
        $this->setColor(
            $background ? FormatBackground::YELLOW : FormatForeground::YELLOW,
            $background
        );
    }
public function yellow(bool $background = null): void
    {
        $this->setColor(
            $background ? FormatBackground::YELLOW : FormatForeground::YELLOW,
            $background
        );
    }
public function yellow ( bool $ background = null ) : void { $ this -> setColor ( $ background ? FormatBackground :: YELLOW : FormatForeground :: YELLOW , $ background ) ; }
Set foreground or background to yellow.

@param bool $background [optional] Whether this is to set the background

@return void
Set foreground or background to yellow .