You are here

public function Scanner::getNumeric in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/masterminds/html5/src/HTML5/Parser/Scanner.php \Masterminds\HTML5\Parser\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 158

Class

Scanner
The scanner.

Namespace

Masterminds\HTML5\Parser

Code

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