SassParser::__get PHP Method

__get() public method

Getter.
public __get ( string $name ) : mixed
$name string name of property to get
return mixed return value of getter function
    public function __get($name)
    {
        $getter = 'get' . ucfirst($name);
        if (method_exists($this, $getter)) {
            return $this->{$getter}();
        }
        if (property_exists($this, $name)) {
            return $this->{$name};
        }
        if ($this->debug) {
            throw new SassException('No getter function for ' . $name);
        }
        return NULL;
    }