Created
March 8, 2018 02:37
-
-
Save jsdecena/61106d673966cb459c19e92b7b36b5f7 to your computer and use it in GitHub Desktop.
Article Model
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\Articles; | |
use Illuminate\Database\Eloquent\Model; | |
class Article extends Model { | |
protected $fillable = [ | |
'title', | |
'content' | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment