SassScriptOperation::__get PHP Method

__get() public method

Getter function for properties
public __get ( string $name ) : mixed
$name string name of property
return mixed value of the property
    public function __get($name)
    {
        if (property_exists($this, $name)) {
            return $this->{$name};
        } else {
            throw new SassScriptOperationException('Unknown property: ' . $name, SassScriptParser::$context->node);
        }
    }