SassLiteral::toString PHP Method

toString() abstract public method

Returns a string representation of the value.
abstract public toString ( ) : string
return string string representation of the value.
    public abstract function toString();

Usage Example

Esempio n. 1
0
 /**
  * SassScript '/' operation.
  * @param SassLiteral $other value to divide by
  * @return sassString the string values of this and other seperated by '/'
  */
 public function op_div($other)
 {
     return new SassString($this->toString() . ' / ' . $other->toString());
 }