models/classes/runner/time/QtiTimer.php
public function toArray()
    {
        return [
            self::STORAGE_KEY_TIME_LINE => $this->timeLine,
            self::STORAGE_KEY_EXTRA_TIME => $this->extraTime,
            self::STORAGE_KEY_EXTENDED_TIME => $this->extendedTime,
            self::STORAGE_KEY_CONSUMED_EXTRA_TIME => $this->consumedExtraTime,
        ];
    }
public function toArray()
    {
        return [
            self::STORAGE_KEY_TIME_LINE => $this->timeLine,
            self::STORAGE_KEY_EXTRA_TIME => $this->extraTime,
            self::STORAGE_KEY_EXTENDED_TIME => $this->extendedTime,
            self::STORAGE_KEY_CONSUMED_EXTRA_TIME => $this->consumedExtraTime,
        ];
    }
Exports the internal state to an array
@return array