public function get($tag)
    {
        if (!isset($this->styles[$tag])) {
            throw new OutOfBoundsException(sprintf(
                'The style tag "%s" does not exist.',
                $tag
            ));
        }

        return $this->styles[$tag];
    }
public function get($tag)
    {
        if (!isset($this->styles[$tag])) {
            throw new OutOfBoundsException(sprintf(
                'The style tag "%s" does not exist.',
                $tag
            ));
        }

        return $this->styles[$tag];
    }
public function get ( $ tag ) { if ( ! isset ( $ this -> styles [ $ tag ] ) ) { throw new OutOfBoundsException ( sprintf ( 'The style tag "%s" does not exist.' , $ tag ) ) ; } return $ this -> styles [ $ tag ] ; }
Returns the style with the given tag.

@param string $tag The tag of the style.

@return Style The style.

@throws OutOfBoundsException If no style is set for the given tag.
Returns the style with the given tag .