webapp/app/User.php

12 lines
200 B
PHP
Raw Normal View History

2018-04-09 21:38:31 +02:00
<?php namespace App;
use Illuminate\Database\Eloquent\Model;
class User extends Model {
protected $fillable = ["email"];
public static $rules = [
"email" => "required",
];
}