| Total Complexity | 8 |
| Total Lines | 52 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | final class HttpBuilderPrepare |
||
| 8 | { |
||
| 9 | use Makeable; |
||
| 10 | |||
| 11 | protected $of; |
||
| 12 | |||
| 13 | protected $prefix = ''; |
||
| 14 | |||
| 15 | protected $suffix = ''; |
||
| 16 | |||
| 17 | protected $default = ''; |
||
| 18 | |||
| 19 | 12 | public function of(?string $value): self |
|
| 20 | { |
||
| 21 | 12 | $this->of = $value; |
|
| 22 | |||
| 23 | 12 | return $this; |
|
| 24 | } |
||
| 25 | |||
| 26 | 12 | public function prefix(string $value): self |
|
| 27 | { |
||
| 28 | 12 | $this->prefix = $value; |
|
| 29 | |||
| 30 | 12 | return $this; |
|
| 31 | } |
||
| 32 | |||
| 33 | 12 | public function suffix(string $value): self |
|
| 38 | } |
||
| 39 | |||
| 40 | 12 | public function get(): ?string |
|
| 47 | } |
||
| 48 | |||
| 49 | 12 | protected function getValue(): ?string |
|
| 54 | } |
||
| 55 | |||
| 56 | 12 | protected function prefexible(): ?string |
|
| 61 |