public function SassParser::toCss in Sassy 7
Same name and namespace in other branches
- 7.3 phpsass/SassParser.php \SassParser::toCss()
* Parse a sass file or Sass source code and returns the CSS. *
Parameters
string name of source file or Sass source: * @return string CSS
File
- phamlp/
sass/ SassParser.php, line 444
Class
- SassParser
- SassParser class. Parses {@link http://sass-lang.com/ .sass and .sccs} files. @package PHamlP @subpackage Sass
Code
public function toCss($source, $isFile = true) {
return $this
->parse($source, $isFile)
->render();
}