new library added

This commit is contained in:
Benjamin Takats
2022-12-05 19:04:57 +01:00
parent 54f8256a4a
commit 83f1b0609f
39 changed files with 1482 additions and 115 deletions

View File

@@ -11,18 +11,17 @@ class Country extends Model
/**
* The attributes that aren't mass assignable.
*
* @var array
*/
protected $guarded = [];
/**
* The attributes that should be cast to native types.
*
* @var array
*/
protected $casts = [
'id' => 'integer',
'id' => 'integer',
'language_codes' => 'array',
];
public function cities(): \Illuminate\Database\Eloquent\Relations\HasMany