models/classes/runner/time/QtiTimeLine.php
public function toArray()
    {
        $data = [];
        foreach ($this->points as $point) {
            $data[] = $point->toArray();
        }
        return $data;
    }
public function toArray()
    {
        $data = [];
        foreach ($this->points as $point) {
            $data[] = $point->toArray();
        }
        return $data;
    }
Exports the internal state to an array
@return array