code: public function setHook($event, $service, $method = null, $priority = 0)
      {
          return $this->setListener($event, $service, $method, $priority);
      }
docs: Alias for setListener().
  
  @param      $event
  @param      $service
  @param null $method
  @param int  $priority
  
  @codeCoverageIgnore
  @deprecated since 0.25 use setListener() instead.
  @see setListener
  @return self