| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class MemoryUser implements UserInterface |
||
| 13 | { |
||
| 14 | private string $name; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Sets the name |
||
| 18 | * ------------- |
||
| 19 | * Устанавливает имя |
||
| 20 | * |
||
| 21 | * @param string $name |
||
| 22 | */ |
||
| 23 | public function __construct(string $name) |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Gets a name |
||
| 30 | * ----------- |
||
| 31 | * Получает имя |
||
| 32 | * |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function getName(): string |
||
| 40 |