PhpCss\Scanner\Token::__get PHP Method

__get() public method

Get token attribute
public __get ( string $name ) : integer | string
$name string
return integer | string
    public function __get($name)
    {
        switch ($name) {
            case 'type':
                return $this->_type;
            case 'content':
                return $this->_content;
            case 'length':
                return $this->_length;
            case 'position':
                return $this->_position;
        }
        throw new \InvalidArgumentException();
    }