public function getCurrent()
    {
        if (empty($this->styles)) {
            return $this->emptyStyle;
        }

        return $this->styles[\count($this->styles) - 1];
    }
public function getCurrent()
    {
        if (empty($this->styles)) {
            return $this->emptyStyle;
        }

        return $this->styles[\count($this->styles) - 1];
    }
public function getCurrent ( ) { if ( empty ( $ this -> styles ) ) { return $ this -> emptyStyle ; } return $ this -> styles [ \ count ( $ this -> styles ) - 1 ] ; }
Computes current style with stacks top codes.

@return OutputFormatterStyle
Computes current style with stacks top codes .