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

Breadcrumb

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

function Scanner::getNumeric

Get the next group of numbers. Note, along with getting the characters the pointer in the data will be moved as well.

Return value

string The next group of numbers.

File

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

Class

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

Namespace

Masterminds\HTML5\Parser

Code

public function getNumeric() {
    return $this->doCharsWhile('0123456789');
}

API Navigation

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