src/View/Helper/Traits/IncludeTrait.php
protected function _getCssOutput(array $options, $url)
    {
        if ($options['rel'] === 'import') {
            return $this->formatTemplate('style', [
                'attrs'   => $this->templater()->formatAttributes($options, ['rel', 'block', 'weight', 'alias']),
                'content' => '@import url(' . $url . ');',
            ]);
        }

        return $this->formatTemplate('css', [
            'rel'   => $options['rel'],
            'url'   => $url,
            'attrs' => $this->templater()->formatAttributes($options, ['rel', 'block', 'weight', 'alias']),
        ]);
    }
protected function _getCssOutput(array $options, $url)
    {
        if ($options['rel'] === 'import') {
            return $this->formatTemplate('style', [
                'attrs'   => $this->templater()->formatAttributes($options, ['rel', 'block', 'weight', 'alias']),
                'content' => '@import url(' . $url . ');',
            ]);
        }

        return $this->formatTemplate('css', [
            'rel'   => $options['rel'],
            'url'   => $url,
            'attrs' => $this->templater()->formatAttributes($options, ['rel', 'block', 'weight', 'alias']),
        ]);
    }
protected function _getCssOutput ( array $ options , $ url ) { if ( $ options [ 'rel' ] === 'import' ) { return $ this -> formatTemplate ( 'style' , [ 'attrs' => $ this -> templater ( ) -> formatAttributes ( $ options , [ 'rel' , 'block' , 'weight' , 'alias' ] ) , 'content' => '@import url(' . $ url . ');' , ] ) ; } return $ this -> formatTemplate ( 'css' , [ 'rel' => $ options [ 'rel' ] , 'url' => $ url , 'attrs' => $ this -> templater ( ) -> formatAttributes ( $ options , [ 'rel' , 'block' , 'weight' , 'alias' ] ) , ] ) ; }
Get current css output.

@param array $options
@param string $url
@return string
Get current css output .