Pattern matching in PHP
This package is auto-updated.
Last update: 2022-11-14 22:58:26 UTC
This is a small library to pattern match on a list of enums in PHP. Please check my blog post about it.
composer require thibaud-dauce/pattern-matching
All possibilities are explained in the test file.