src/Events/FeedbackSubmitted.php
public function read(array $opts) {

        $attempt = $this->repo->readFeedbackAttempt($opts['objectid']);
        $attempt->timemodified = $this->timeSelector($attempt);
        return array_merge(parent::read($opts), [
            'module' => $this->repo->readModule($attempt->feedback, 'feedback'),
            'questions' => $this->repo->readFeedbackQuestions($attempt->feedback),
            'attempt' => $attempt,
        ]);
    }
public function read(array $opts) {

        $attempt = $this->repo->readFeedbackAttempt($opts['objectid']);
        $attempt->timemodified = $this->timeSelector($attempt);
        return array_merge(parent::read($opts), [
            'module' => $this->repo->readModule($attempt->feedback, 'feedback'),
            'questions' => $this->repo->readFeedbackQuestions($attempt->feedback),
            'attempt' => $attempt,
        ]);
    }
Reads data for an event.
@param [String => Mixed] $opts
@return [String => Mixed]
@override Event