output/formatting/styles/Stack.php
public function current() : interfaces\Style
    {
        return !empty($this->styles) ? end($this->styles) : $this->default;
    }
public function current() : interfaces\Style
    {
        return !empty($this->styles) ? end($this->styles) : $this->default;
    }
public function current ( ) : interfaces \ Style { return ! empty ( $ this -> styles ) ? end ( $ this -> styles ) : $ this -> default ; }
Returns the current, topmost Style in the stack, or the default Style if none is stacked.

@return  interfaces\Style
Returns the current topmost Style in the stack or the default Style if none is stacked .