League\CommonMark\Block\Element\Paragraph::handleRemainingContents PHP Method

handleRemainingContents() public method

public handleRemainingContents ( League\CommonMark\ContextInterface $context, Cursor $cursor )
$context League\CommonMark\ContextInterface
$cursor League\CommonMark\Cursor
    public function handleRemainingContents(ContextInterface $context, Cursor $cursor)
    {
        $cursor->advanceToFirstNonSpace();
        $context->getTip()->addLine($cursor->getRemainder());
    }