| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | final class MethodName |
||
| 10 | { |
||
| 11 | private $value; |
||
| 12 | |||
| 13 | 35 | public function __construct(Name $name) |
|
| 14 | { |
||
| 15 | 35 | $this->value = (string) Str::of((string) $name) |
|
| 16 | 35 | ->replace('.', '_') |
|
| 17 | 35 | ->camelize() |
|
| 18 | 35 | ->prepend('build'); |
|
| 19 | 35 | } |
|
| 20 | |||
| 21 | 23 | public function __toString(): string |
|
| 24 | } |
||
| 25 | } |
||
| 26 |