protected function prepareCssForLess($componentName, $fileName = null)
    {
        if ($fileName === null) {
            $fileName = $componentName;
        }

        // Add component data to minifier if it is enabled
        if ($this->components[$componentName] === true) {
            return "@import \"{$fileName}.less\";";
        }

        return '';
    }
protected function prepareCssForLess($componentName, $fileName = null)
    {
        if ($fileName === null) {
            $fileName = $componentName;
        }

        // Add component data to minifier if it is enabled
        if ($this->components[$componentName] === true) {
            return "@import \"{$fileName}.less\";";
        }

        return '';
    }
protected function prepareCssForLess ( $ componentName , $ fileName = null ) { if ( $ fileName === null ) { $ fileName = $ componentName ; } // Add component data to minifier if it is enabled if ( $ this -> components [ $ componentName ] === true ) { return "@import \"{$fileName}.less\";" ; } return '' ; }
Prepare components less file for less processor's input if component is enabled

@param string      $componentName valid component name
@param string|null $fileName      file name (if not set component name is used)

@return string
Prepare components less file for less processor s input if component is enabled