Si une condition

$customer->user->fullName ?? ''

$customer->user->fullName ? $customer->user->fullName : ''
  
isset($customer->user->fullName) ? $customer->user->fullName : ''
calyCoder