Ejemplo n.º 1
0
 /**
  * Whether eof has been reached with stream.
  * @return boolean
  */
 public function eof()
 {
     return $this->inStream->eof();
 }
Ejemplo n.º 2
0
 /**
  * @return bool
  */
 protected function isComment()
 {
     return $this->input->peek() == '-' && !$this->input->eof(1) && $this->input->peek(1) == '-';
 }