public function inlineCss($cssCode, $uniqueId = null)
    {
        if ($uniqueId !== null) {
            if ($this->included->isIncluded($uniqueId)) {
                return new DataView();
            } else {
                $this->included->markAsIncluded($uniqueId);
            }
        }
        return new TagWithText('style', $cssCode);
    }
public function inlineCss($cssCode, $uniqueId = null)
    {
        if ($uniqueId !== null) {
            if ($this->included->isIncluded($uniqueId)) {
                return new DataView();
            } else {
                $this->included->markAsIncluded($uniqueId);
            }
        }
        return new TagWithText('style', $cssCode);
    }
public function inlineCss ( $ cssCode , $ uniqueId = null ) { if ( $ uniqueId !== null ) { if ( $ this -> included -> isIncluded ( $ uniqueId ) ) { return new DataView ( ) ; } else { $ this -> included -> markAsIncluded ( $ uniqueId ) ; } } return new TagWithText ( 'style' , $ cssCode ) ; }
Returns component that renders 'style' tag with css code.

@param string $cssCode
@param string|null $uniqueId specify unique id for inline code to avoid embedding it twice
@return DataView|TagWithText
Returns component that renders style tag with css code .