Last active
February 11, 2017 20:34
-
-
Save evercode1/37914a5cc6de8b8c7e1a9bfcee79012c to your computer and use it in GitHub Desktop.
chapter 15 Lesson.php
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 Lesson extends Model | |
| { | |
| protected $fillable = ['name', | |
| 'slug', | |
| 'category_id', | |
| 'subcategory_id']; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment