This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Models; | |
| use App\Enums\Country; | |
| use Illuminate\Database\Eloquent\Model; | |
| class Address extends Model | |
| { | |
| protected $casts = [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Inspired by https://gist.github.com/evolkmann/740d24889c509c08484a8ff72af5dd64 | |
| <?php | |
| namespace App\Enums; | |
| enum Country: string | |
| { | |
| case AF = 'Afghanistan'; | |
| case AX = 'AlandIslands'; | |
| case AL = 'Albania'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (window.webpackJsonp = window.webpackJsonp || []).push([[11], { | |
| "+bJz": function(l, n, u) { | |
| "use strict"; | |
| u.d(n, "a", (function() { | |
| return t | |
| } | |
| )); | |
| class t { | |
| constructor() {} | |
| ngOnInit() {} |