public function SassParser::toCss in Sassy 7.3
Same name and namespace in other branches
- 7 phamlp/sass/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 value
string CSS
File
- phpsass/
SassParser.php, line 482
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();
}