original_string: public function setEventEmitter($emitter = null)
      {
          if ($emitter === null) {
              $this->eventEmitter = new Emitter();
          } else {
              $this->eventEmitter = $emitter;
          }
      }
code: public function setEventEmitter($emitter = null)
      {
          if ($emitter === null) {
              $this->eventEmitter = new Emitter();
          } else {
              $this->eventEmitter = $emitter;
          }
      }
code_tokens: public function setEventEmitter ( $ emitter = null ) { if ( $ emitter === null ) { $ this -> eventEmitter = new Emitter ( ) ; } else { $ this -> eventEmitter = $ emitter ; } }
docstring: Set an event emitter
  
  @param object $emitter Event emitter object
docstring_tokens: Set an event emitter