docs
docs copied to clipboard
feat(doc): how to incorporate static code tables in an API
Nice one! Couldn't you use the new enum type introduced in PHP 8.1 for this use case?
I have not looked at the new enum feature in depth. I could expand this doc section at a later date by adding a separate example that uses the enum type.
@dunglas I added an enum section to the explanation.