public function setColors($textColor = null, $fillColor = null) {

        // set the desired text and fill
        $this->desiredState->setTextColor($textColor);
        $this->desiredState->setFillColor($fillColor);

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

        // set the desired text and fill
        $this->desiredState->setTextColor($textColor);
        $this->desiredState->setFillColor($fillColor);

        // chaining
        return $this;
    }
public function setColors ( $ textColor = null , $ fillColor = null ) { // set the desired text and fill $ this -> desiredState -> setTextColor ( $ textColor ) ; $ this -> desiredState -> setFillColor ( $ fillColor ) ; // chaining return $ this ; }
Set both the fill and text colors

@param $textColor int|string|null $color - can be either a Color constant Color::Blue or a string with the same spelling "blue", "Red", "LIGHT CYAN", etc
@param $fillColor int|string|null $color - can be either a Color constant Color::Blue or a string with the same spelling "blue", "Red", "LIGHT CYAN", etc

@return $this
Set both the fill and text colors