accompanyingPeriodRepository->find($message->getPeriodId())) { throw new \RuntimeException(self::LOG_PREFIX . 'Could not find period with this id: '. $message->getPeriodId()); } ($this->changer)($period, $message->getTransition()); } }