public function setEvent(Event $event) { $this->outcome = $event->getOutcome(); $this->out = $event->isOut(); $this->runsScored = $event->getRunsScored(); $this->description = $event->getDescription(); $this->reachBase = $event->getReachedBase(); }