You are here

public function StringInputStream::current in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/masterminds/html5/src/HTML5/Parser/StringInputStream.php \Masterminds\HTML5\Parser\StringInputStream::current()

Get the current character.

Return value

string The current character.

File

vendor/masterminds/html5/src/HTML5/Parser/StringInputStream.php, line 180

Class

StringInputStream

Namespace

Masterminds\HTML5\Parser

Code

public function current() {
  return $this->data[$this->char];
}