Code Coverage
 
Lines
Branches
Paths
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
4 / 4
100.00% covered (success)
100.00%
4 / 4
100.00% covered (success)
100.00%
4 / 4
100.00% covered (success)
100.00%
4 / 4
CRAP
100.00% covered (success)
100.00%
1 / 1
NotificationDispatchResult
100.00% covered (success)
100.00%
4 / 4
100.00% covered (success)
100.00%
4 / 4
100.00% covered (success)
100.00%
4 / 4
100.00% covered (success)
100.00%
4 / 4
4
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getSender
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getStatus
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getMessage
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3namespace App\Notification\Domain\Model;
4
5/**
6 * @author Wilhelm Zwertvaegher
7 */
8readonly class NotificationDispatchResult
9{
10    public function __construct(
11        private string $sender,
12        private NotificationStatus $status,
13        private string $message,
14    ) {
15    }
16
17    public function getSender(): string
18    {
19        return $this->sender;
20    }
21
22    public function getStatus(): NotificationStatus
23    {
24        return $this->status;
25    }
26
27    public function getMessage(): string
28    {
29        return $this->message;
30    }
31
32}

Paths

Below are the source code lines that represent each code path as identified by Xdebug. Please note a path is not necessarily coterminous with a line, a line may contain multiple paths and therefore show up more than once. Please also be aware that some paths may include implicit rather than explicit branches, e.g. an if statement always has an else as part of its logical flow even if you didn't write one.

NotificationDispatchResult->__construct
10    public function __construct(
11        private string $sender,
12        private NotificationStatus $status,
13        private string $message,
14    ) {
15    }
NotificationDispatchResult->getMessage
29        return $this->message;
30    }
NotificationDispatchResult->getSender
19        return $this->sender;
20    }
NotificationDispatchResult->getStatus
24        return $this->status;
25    }