Created
October 22, 2018 01:11
-
-
Save goFrendiAsgard/38e4d1c8ec371254cc43a1b0f57894fc to your computer and use it in GitHub Desktop.
Eloquent example
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; | |
use Illuminate\Database\Eloquent\Model; | |
class Flight extends Model | |
{ | |
/** | |
* The table associated with the model. | |
* | |
* @var string | |
*/ | |
protected $table = 'my_flights'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment