private function reset()
    {
        $this->state   = self::IN_TEXT;
        $this->tagType = null;
        $this->buffer  = '';
        $this->tokens  = array();
        $this->seenTag = false;
        $this->line    = 0;
        $this->otag    = '{{';
        $this->ctag    = '}}';
        $this->otagLen = 2;
        $this->ctagLen = 2;
    }
private function reset()
    {
        $this->state   = self::IN_TEXT;
        $this->tagType = null;
        $this->buffer  = '';
        $this->tokens  = array();
        $this->seenTag = false;
        $this->line    = 0;
        $this->otag    = '{{';
        $this->ctag    = '}}';
        $this->otagLen = 2;
        $this->ctagLen = 2;
    }
private function reset ( ) { $ this -> state = self :: IN_TEXT ; $ this -> tagType = null ; $ this -> buffer = '' ; $ this -> tokens = array ( ) ; $ this -> seenTag = false ; $ this -> line = 0 ; $ this -> otag = '{{' ; $ this -> ctag = '}}' ; $ this -> otagLen = 2 ; $ this -> ctagLen = 2 ; }
Helper function to reset tokenizer internal state.
Helper function to reset tokenizer internal state .