You are here

public function SassScriptVariable::__construct in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/sass/script/SassScriptVariable.php \SassScriptVariable::__construct()

SassVariable constructor

Parameters

string value of the Variable type:

Return value

SassVariable

File

phpsass/script/SassScriptVariable.php, line 33

Class

SassScriptVariable
SassVariable class. @package PHamlP @subpackage Sass.script.literals

Code

public function __construct($value) {
  $this->name = substr($value, 1);
}