public function tokenize($input, $finalize = true) {
        try {
            return call_user_func($this->_tokenize, $input, $finalize);
        } catch (\Exception $e) {
            throw $e;
        }
    }
public function tokenize($input, $finalize = true) {
        try {
            return call_user_func($this->_tokenize, $input, $finalize);
        } catch (\Exception $e) {
            throw $e;
        }
    }
public function tokenize ( $ input , $ finalize = true ) { try { return call_user_func ( $ this -> _tokenize , $ input , $ finalize ) ; } catch ( \ Exception $ e ) { throw $ e ; } }
The input can be a string or a stream.
The input can be a string or a stream .