Laravel terbaru dari hubungan

/**
 * Get the user's most recent image.
 */
public function latestImage()
{
    return $this->morphOne(Image::class)->latestOfMany();
}
El Weno