Feature Request
| Q |
A |
| New Feature |
yes |
| RFC |
yes |
| BC Break |
no |
Summary
An additional interface with some getters for the RFC specific field members (chapter 3.1) would be very nice to have.
I have often mistyped on those fields. Some interface which let a developer implement specific methods to be strict about it would be great.
Just of the top of my head...
interface StrictApiProblemInterface
{
public function getType(): ?string
public function getTitle(): string
public function getStatus(): ?int
public function getDetail(): ?string
public function getExtensions(): array
}
Feature Request
Summary
An additional interface with some getters for the RFC specific field members (chapter 3.1) would be very nice to have.
I have often mistyped on those fields. Some interface which let a developer implement specific methods to be strict about it would be great.
Just of the top of my head...