public function setCallback(callable $callback): EventObserver
    {
        $this->callback = $callback;
        $this->id = $this->getId($callback);

        return $this;
    }
public function setCallback(callable $callback): EventObserver
    {
        $this->callback = $callback;
        $this->id = $this->getId($callback);

        return $this;
    }
public function setCallback ( callable $ callback ) : EventObserver { $ this -> callback = $ callback ; $ this -> id = $ this -> getId ( $ callback ) ; return $ this ; }
You can add a different callback if you want

@param *callable $callback

@return EventObserver
You can add a different callback if you want