You are here

public function Scanner::position 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::position()

Get the current position.

Return value

int The current intiger byte position.

File

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

Class

Scanner
The scanner.

Namespace

Masterminds\HTML5\Parser

Code

public function position() {
  return $this->is
    ->key();
}