Hi,
I have been trying to figure out, how to use a placeholder for the name of a service.
I want to put the service name in the alert title, but I cannot seem to figure out, how to retrieve the name without using a foreach loop.
What I have tried so far that didn’t work:
$value[‘service_name’]
{{ $value[‘service_name’] }}
It works with a foreach loop:
@foreach ($alert->faults as $key => $value)
{{ $value[‘service_name’] }}
@endforeach
Can anybody guide me in the right direction?
Thanks so much