@inject('Service', 'App\Services\Service') @php $param = 'overview_b'; // Set this to the value you want to pass @endphp @if(method_exists($Service, 'get') && is_array($Service->get($param))) @php $benefits = $Service->get($param); @endphp

KEY BENEFITS

@else

The benefits service is not available.

@endif