You are here

function CssInputStream::consume in QueryPath 6

Same name and namespace in other branches
  1. 7.3 QueryPath/CssParser.php \CssInputStream::consume()
  2. 7.2 QueryPath/CssParser.php \CssInputStream::consume()

File

QueryPath/CssParser.php, line 734

Class

CssInputStream

Code

function consume() {
  $ret = array_shift($this->stream);
  if (!empty($ret)) {
    $this->position++;
  }
  return $ret;
}