You are here

function CssInputStream::consume in QueryPath 7.2

Same name and namespace in other branches
  1. 6 QueryPath/CssParser.php \CssInputStream::consume()
  2. 7.3 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;
}