| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | final class DefaultAlias implements Alias |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | private $name; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param string $name |
||
| 17 | */ |
||
| 18 | 14 | public function __construct(string $name) |
|
| 19 | { |
||
| 20 | 14 | $this->name = $name; |
|
| 21 | 14 | } |
|
| 22 | |||
| 23 | /** |
||
| 24 | * @return string |
||
| 25 | */ |
||
| 26 | 14 | public function name(): string |
|
| 27 | { |
||
| 28 | 14 | return $this->name; |
|
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return array |
||
| 33 | */ |
||
| 34 | 14 | public function config(): array |
|
| 37 | } |
||
| 38 | } |
||
| 39 |