original_string: public function eventManager(EventManager $eventManager = null)
      {
          if ($eventManager !== null) {
              $this->_eventManager = $eventManager;
          }
  
          return $this->_eventManager;
      }
code: public function eventManager(EventManager $eventManager = null)
      {
          if ($eventManager !== null) {
              $this->_eventManager = $eventManager;
          }
  
          return $this->_eventManager;
      }
code_tokens: public function eventManager ( EventManager $ eventManager = null ) { if ( $ eventManager !== null ) { $ this -> _eventManager = $ eventManager ; } return $ this -> _eventManager ; }
docstring: Gets or sets event manager instance associated to this dispatcher.
  
  @param \Cake\Event\EventManager|null $eventManager The instance to set
  @return \Cake\Event\EventManager
docstring_tokens: Gets or sets event manager instance associated to this dispatcher .