public function SassScriptOperation::__toString in Sassy 7.3
Converts the operation back into it's SASS representation
File
- phpsass/
script/ SassScriptOperation.php, line 155
Class
- SassScriptOperation
- SassScriptOperation class. The operation to perform. @package PHamlP @subpackage Sass.script
Code
public function __toString() {
foreach (SassScriptOperation::$operators as $char => $operator) {
if ($operator[0] == trim($this->operator)) {
return $char;
}
}
}