Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Scanner.php

function Scanner::consume

Same name in this branch
  1. 11.1.x vendor/mck89/peast/lib/Peast/Syntax/Scanner.php \Peast\Syntax\Scanner::consume()

Silently consume N chars.

Parameters

int $count:

File

vendor/masterminds/html5/src/HTML5/Parser/Scanner.php, line 151

Class

Scanner
The scanner scans over a given data input to react appropriately to characters.

Namespace

Masterminds\HTML5\Parser

Code

public function consume($count = 1) {
    $this->char += $count;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal