public function setColors($textColor, $fillColor) {

        // set the text color
        self::setTextColor($textColor);

        // set the fill color
        self::setFillColor($fillColor);


        // chaining
        return $this;
    }
public function setColors($textColor, $fillColor) {

        // set the text color
        self::setTextColor($textColor);

        // set the fill color
        self::setFillColor($fillColor);


        // chaining
        return $this;
    }
public function setColors ( $ textColor , $ fillColor ) { // set the text color self :: setTextColor ( $ textColor ) ; // set the fill color self :: setFillColor ( $ fillColor ) ; // chaining return $ this ; }
Set both text and fill colors

@param Color | string | int | array $textColor
@param Color | string | int | array $fillColor
- String - a W3C color index name "darkblue"
- integer - a number between 0-255 for the XTerm escape code
- array - RGB values in the format [R,G,B]
@return $this
Set both text and fill colors