original_string: public function detachShared(SharedEventManagerInterface $events)
      {
          if ($events->detach($this->listener,'Zend\Mvc\Application')) {
              $this->listener = null;
          }
          return $this;
      }
code: public function detachShared(SharedEventManagerInterface $events)
      {
          if ($events->detach($this->listener,'Zend\Mvc\Application')) {
              $this->listener = null;
          }
          return $this;
      }
code_tokens: public function detachShared ( SharedEventManagerInterface $ events ) { if ( $ events -> detach ( $ this -> listener , 'Zend\Mvc\Application' ) ) { $ this -> listener = null ; } return $ this ; }
docstring: Detach all our listeners from the event manager
  
  @param  SharedEventManagerInterface $events
  @return $this
docstring_tokens: Detach all our listeners from the event manager