| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | class Parameter implements \Stringable |
||
| 26 | { |
||
| 27 | private string $parameter; |
||
| 28 | private bool $resolve; |
||
| 29 | |||
| 30 | public function __construct(string $parameter, bool $resolve = false) |
||
| 31 | { |
||
| 32 | $this->resolve = $resolve; |
||
| 33 | $this->parameter = $parameter; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function shouldResolve(): bool |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | * |
||
| 44 | * @return string The parameter identifier |
||
| 45 | */ |
||
| 46 | public function __toString() |
||
| 51 |