| Total Complexity | 2 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class ResponseTypeManager |
||
| 13 | { |
||
| 14 | protected $responseTypes = []; |
||
| 15 | |||
| 16 | public function setResponseType(string $identifier, ResponseTypeInterface $responseType): self |
||
| 17 | { |
||
| 18 | $this->responseTypes[$identifier] = $responseType; |
||
| 19 | return $this; |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getResponseType(string $identifier): ?ResponseTypeInterface |
||
| 25 | } |
||
| 26 | } |