public function addStyle(Style $style)
    {
        if (!in_array($style, $this->styles, true)) {
            array_push($this->styles, $style);
        }
        return $this;
    }
public function addStyle(Style $style)
    {
        if (!in_array($style, $this->styles, true)) {
            array_push($this->styles, $style);
        }
        return $this;
    }
public function addStyle ( Style $ style ) { if ( ! in_array ( $ style , $ this -> styles , true ) ) { array_push ( $ this -> styles , $ style ) ; } return $ this ; }
Add a new Style

@api
@param Style $style The Style to be added
@return static
Add a new Style