public function getLineIndentation()
    {
        $first = $this->getFirstTokenOnLine();
        if ( ! $first->matches(T_WHITESPACE)) {
            return '';
        }

        return $first->getContentUntil($first->findNextToken('NO_WHITESPACE')->get());
    }
public function getLineIndentation()
    {
        $first = $this->getFirstTokenOnLine();
        if ( ! $first->matches(T_WHITESPACE)) {
            return '';
        }

        return $first->getContentUntil($first->findNextToken('NO_WHITESPACE')->get());
    }
public function getLineIndentation ( ) { $ first = $ this -> getFirstTokenOnLine ( ) ; if ( ! $ first -> matches ( T_WHITESPACE ) ) { return '' ; } return $ first -> getContentUntil ( $ first -> findNextToken ( 'NO_WHITESPACE' ) -> get ( ) ) ; }
Returns the indentation used on the current line.

@return string
Returns the indentation used on the current line .