Leafo\ScssPhp\Node\Number::offsetGet PHP Метод

offsetGet() публичный Метод

public offsetGet ( $offset )
    public function offsetGet($offset)
    {
        switch ($offset) {
            case -3:
                return $this->sourceColumn;
            case -2:
                return $this->sourceLine;
            case -1:
                return $this->sourceIndex;
            case 0:
                return $this->type;
            case 1:
                return $this->dimension;
            case 2:
                return $this->units;
        }
    }