@php $isEdit = isset($experience); $route = $isEdit ? route('experience.update', $experience->id) : route('experience.store'); @endphp