Leafo\ScssPhp\Compiler::set PHP Method

set() protected method

Set variable
protected set ( string $name, mixed $value, boolean $shadow = false, Leafo\ScssPhp\Compiler\Environment $env = null )
$name string
$value mixed
$shadow boolean
$env Leafo\ScssPhp\Compiler\Environment
    protected function set($name, $value, $shadow = false, Environment $env = null)
    {
        $name = $this->normalizeName($name);
        if (!isset($env)) {
            $env = $this->getStoreEnv();
        }
        if ($shadow) {
            $this->setRaw($name, $value, $env);
        } else {
            $this->setExisting($name, $value, $env);
        }
    }
Compiler