| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 77.78% |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | final class Profile |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * |
||
| 9 | * @var string |
||
| 10 | */ |
||
| 11 | private $name; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * |
||
| 15 | * @param string $name |
||
| 16 | */ |
||
| 17 | 30 | public function __construct(string $name) |
|
| 24 | 29 | } |
|
| 25 | |||
| 26 | /** |
||
| 27 | * |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | public function getName(): string |
||
| 31 | { |
||
| 32 | return $this->name; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | 20 | public function __toString() |
|
| 42 | } |
||
| 43 | } |
||
| 44 |