You are here

public function SassScriptVariable::__construct in Sassy 7

Same name and namespace in other branches
  1. 7.3 phpsass/script/SassScriptVariable.php \SassScriptVariable::__construct()

* SassVariable constructor *

Parameters

string value of the Variable type: * @return SassVariable

File

phamlp/sass/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);
}