protected function setEventManager(EventManagerInterface $events): self
    {
        $events->setIdentifiers([__CLASS__, get_called_class()]);
        $this->events = $events;
        return $this;
    }
protected function setEventManager(EventManagerInterface $events): self
    {
        $events->setIdentifiers([__CLASS__, get_called_class()]);
        $this->events = $events;
        return $this;
    }
protected function setEventManager ( EventManagerInterface $ events ) : self { $ events -> setIdentifiers ( [ __CLASS__ , get_called_class ( ) ] ) ; $ this -> events = $ events ; return $ this ; }
Sets the EventManager

@param EventManagerInterface $events
@return self
Sets the EventManager