Created
July 28, 2021 20:13
-
-
Save nkeena/aaef2450111792b3def24bc32031ddee to your computer and use it in GitHub Desktop.
Region model that uses CSV data
This file contains 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\StaticModel; | |
class Region extends StaticModel | |
{ | |
protected $schema = [ | |
'id' => 'string', | |
]; | |
protected $source = 'regions'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment