public static function fromArray(array $array) { $record = new static(); $record->setStashedData($array); return $record; }