Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for model keys cast to backed enums in FormatModel (#1286)
* Add support for model keys casted to backed enums in FormatModel * Fix code style * Added interface_exists() check to avoid breaking compatibility with PHP < 8.1 * Removed import for interface BackedEnum to preserve compatibility * Add support for Pivots with backed enum ids * Update FormatModel.php Co-authored-by: Taylor Otwell <taylor@laravel.com>
- Loading branch information