| Total Complexity | 4 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 88.89% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | class ScenarioName |
||
| 22 | { |
||
| 23 | /** @var string * */ |
||
| 24 | private $name; |
||
| 25 | |||
| 26 | /** @param string $name */ |
||
| 27 | 6 | public function __construct($name) |
|
| 28 | { |
||
| 29 | 6 | $this->ensureIsValidScenarioName($name); |
|
| 30 | 6 | $this->name = $name; |
|
| 31 | 6 | } |
|
| 32 | |||
| 33 | /** @return string */ |
||
| 34 | 6 | public function asString() |
|
| 37 | } |
||
| 38 | |||
| 39 | 6 | private function ensureIsValidScenarioName($name) |
|
| 43 | } |
||
| 44 | 6 | } |
|
| 46 |